克隆虚拟机后-没有eth0 网卡的问题

克隆虚拟机后-没有eth0 网卡的问题

在克隆虚拟机启动后,ifconfig 查看网卡只有一个lo 回环的网卡
ifconfig -a  可以看到有一个eth1。

 

如何让eth0 正常显示使用:
(centos6.5)克隆的机器开机后,注释掉网卡文件中的uuid 和hwaddr这2栏,然后再删除70-persistent-net.rules 文件,重启机器。

[root@localhost ~]# rm -rf /etc/udev/rules.d/70-persistent-net.rules //删除网卡信息文件
[root@localhost ~]# reboot  //重启机器
分享