-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
The bootstrap cannot pass, because when creating vm's for example in Proxmox, the network board is called not ETH0, but ENS18.
From here, ETCD cannot start the VIP address.
In the configuration, it is clearly not enough to indicate the name of the interface.
resource "talos_machine_configuration_apply" "controlplane" {
client_configuration = talos_machine_secrets.this.client_configuration
machine_configuration_input = data.talos_machine_configuration.controlplane.machine_configuration
for_each = var.node_data.controlplanes
node = each.key
config_patches = [
templatefile("${path.module}/templates/install-disk-and-hostname.yaml.tmpl", {
hostname = each.value.hostname == null ? format("%s-cp-%s", var.cluster_name, index(keys(var.node_data.controlplanes), each.key)) : each.value.hostname
install_disk = each.value.install_disk
}),
file("${path.module}/files/cp-scheduling.yaml"),
]
}
Metadata
Metadata
Assignees
Labels
No labels