用VM ,VirtualBox 配置好CentOS后,使用复制虚拟机功能复制了一台,但启动后用ifconfig查看IP时,一直提示未找到eth0 ,重启网卡服务:service network restart,提示如下错误信息:
1
device eth0 does not seem to be present,delaying initialization.
解决步骤:
1、查看网卡的MAC地址
device eth0 does not seem to be present,delaying initialization_service
2、修改 ifcfg-eth0 中的 HWADDR 跟上面的MAC地址一样。
1
vi /etc/sysconfig/network-scripts/ifcfg-eth0
3、删除 /etc/udev/rules.d/70-persistent-net.rules 并重启即可。
1
2
rm /etc/udev/rules.d/70-persistent-net.rules
reboot