Solution:
So here's how we fix it:
- Remove the kernel's networking interface rules file so that it can be regenerated
# rm -f /etc/udev/rules.d/70-persistent-net.rules |
- Restart the VM
- 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-persistent-net.rules ).
Remove the uuid entry
Save and exit the file
- Restart the networking service
# service network restart |
Happy cloning!
2. Another MethodThis is because the file corresponding to the centos system is moved in the Virtual Machine (VMware), and the MAC address of the NIC changes when the configuration is reconfigured. Enter ifconfig-, unable to find eth0 · after installing a centos virtual machine, copy another copy. After the boot, the NIC cannot start properly. The error message is: Device eth0 does not seem to be present, delaying initialization solution: # mv/etc/sysconfig/network-scripts/ifcfg-eth0 sysconfig/network-scripts/ifcfg-eth1 Vim sysconfig/network-scripts/ifcfg-eth1 modify device = "eth0" to device = "eth1" Modify IP address, delete the MAC address (hwaddr) and UUID. Restart the NIC and try again.