解决克隆centos虚拟机后ip配置失败的问题
1、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
2、Restart the VM# reboot
3、UPDATE your interface configuration file#vi /etc/sysconfig/network-scripts/ifcfg-eth0Remove 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 entrySave and exit the file
4、Restart the networking service# service network restart