So here's how we fix it:
Remove The kernel ' s networking interface rules file so it can regenerated
# rm-f/etc/udev/rules.d/70-persistent-net.rules
Restart the VM
# reboot
UPDATE your interface configuration file
# Vi/etc/sysconfig/network-scripts/ifcfg-eth0
Remove the MACADDR entry or update it to the new macaddr for the interface (listed in this file:/etc/udev/rules.d/70-pers Istent-net.rules).
Remove The UUID entry
Save and exit the file
Restart the Networking service
# Service Network Restart
Happy cloning!
Two. Another approach
This is caused by the move of the CentOS system files in the virtual machine (Vmware), resulting in reconfiguration, the MAC address of the NIC has changed, input ifconfig-a, cannot find eth0
·······
Install a CentOS virtual machine, and another copy, boot after the network card does not start normally, error: Device eth0 does not seem to be present,
Delaying initialization
FIX: # Mv/etc/sysconfig/network-scripts/ifcfg-eth0
Sysconfig/network-scripts/ifcfg-eth1
Vim
Sysconfig/network-scripts/ifcfg-eth1
Modify Device= "Eth0"
For device= "Eth1"
Modify the IP address, remove the MAC address (HWADDR), and remove the UUID entry.
Then reboot the boot Nic and try
Resolves an issue where the IP, Mac, UUID of a modified machine after cloning a Linux virtual machine failed