Description of problem:
After migrating Ubuntu 20.04 virtual machine from VMware vSphere to OpenShift Virtualization the name of the network interface is not persevered. This results in no network connectivity for the virtual machine as the static IP information from netplan is not assigned to the network interface with the new name.
Version-Release number of selected component (if applicable):
Migration Toolkit for virtualization(MTV): 2.7.2
OpenShift: 4.15.12
OpenShift Virtualization: 4.15.6
Ubuntu Version: 20.04
How reproducible:
100% on end user environment
1. Pre migration, record network interface name(s)
2. Migrate Ubuntu VM from VMware vSphere to OpenShift Virtualization
3. Post migration check OpenShift Virtualization virtual machine and notice name change.
Actual results:
Prior to the migration, the Ubuntu virtual machine had the network interface name of ens160, after the migration, the name was changed to enp1s0.
Expected results:
The Ubuntu virtual machine network interface name should be persevered after the migration.