diff --git a/upi/vsphere/vm/ignition.tf b/upi/vsphere/vm/ignition.tf index 40182f37e7b..e8f4067b84f 100644 --- a/upi/vsphere/vm/ignition.tf +++ b/upi/vsphere/vm/ignition.tf @@ -18,7 +18,7 @@ data "ignition_file" "static_ip" { for_each = var.hostnames_ip_addresses filesystem = "root" - path = "/etc/NetworkManager/system-connections/ens192.nmconnection" + path = "/etc/NetworkManager/system-connections/eth0.nmconnection" mode = "420" content { diff --git a/upi/vsphere/vm/nm-keyfile.tmpl b/upi/vsphere/vm/nm-keyfile.tmpl index 3f4d2d7ad73..e9de900bcbe 100644 --- a/upi/vsphere/vm/nm-keyfile.tmpl +++ b/upi/vsphere/vm/nm-keyfile.tmpl @@ -2,7 +2,7 @@ id=Static ethernet connnection 1 uuid=${uuid()} type=802-3-ethernet -interface-name=ens192 +interface-name=eth0 autoconnect=true [ipv4]