网上有很多关于虚拟机克隆复制后eth0找不到或者eth0编程eth1等问题,也有很多的解决方法但是,都没有抓到实质:
其实很简单只需要执行如下命令重新define虚拟机即可
进入虚拟机:
mv /etc/udev/rules.d/70-persistent-net.rules /etc/udev/rules.d/70-persistent-net.rules.bak
重新define虚拟机。
然后
ifconfig ethx ip up
下面是其他解决方法但不推荐使用。
KVM虚拟机克隆Linux系统后找不到eth0网卡的问题
http://www.2cto.com/os/201312/266103.html
VMware虚拟机克隆Linux系统后找不到eth0网卡的问题
http://www.linuxidc.com/Linux/2013-01/78427.htm
出处:http://www.openext.org/2014/07/qemu-kvm-ques
查看本栏目更多精彩内容:http://www.bianceng.cnhttp://www.bianceng.cn/Servers/virtualization/
时间: 2024-09-17 04:20:33