linux就该这么学pdf免费下载
解决克隆 centos虚拟机后修改克隆后的机器的ip、mac、uuid失败的问题
-
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
# 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-persistent-net.rules).
Remove the UUID entry
Save and exit the file
-
Restart the networking service
# service network restart
转载请注明:谷谷点程序 » 解决克隆centos虚拟机后ip配置失败的问题