You might notice, that after moving VHD file to another location and recreating the virtual machine, you don’t have a valid NIC shown in ifconfig output:
The solution is to remove /etc/udev/rules.d/70-persistent-net.rules file. After reboot you will have the NIC back:
Edit in 2024-05-14
All you need basically is this:
rm /etc/udev/rules.d/70-persistent-net.rules
nano /etc/sysconfig/network-scripts/ifcfg-eth0
Make the file to contain only this:
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=dhcp
Save the file and after that reboot:
reboot