While launching new VM from a template using Morpheus, we found the network interfaces are still created with old naming standards like eth0. We are even wiping of all udev rules (net-persistent-net) while creating the template. Is there a way that we can edit the cloud init - metadata file that is being created by Morpheus to avoid the hardcoding of this default interface names. The altname ens192 does not help. We need to have ens192 as interface and we can eth0 as altname if needed. Why this is getting renamed. Please advise.
$ dmesg | grep eth0
vmxnet3 0000:0b:00.0 eth0: NIC Link is Up 10000 Mbps
vmxnet3 0000:0b:00.0 ens192: renamed from eth0
vmxnet3 0000:0b:00.0 eth0: renamed from ens192
vmxnet3 0000:0b:00.0 eth0: intr type 3, mode 0, 3 vectors allocated
vmxnet3 0000:0b:00.0 eth0: NIC Link is Up 10000 Mbps