centos6.9克隆后网卡不生效
故障现象:
虚拟机Vmware上克隆了一个centos6.9 启动时发现找不到网卡,报错信息
Device eth0 does not seem to be present, delaying initialization
解决方案为:
chkconfig NetworkManager off
chkconfig network on
service NetworkManager stop
service network start
启动网卡后发现再次报错,信息如下
Error: Connection activation failed: The connection is not for this device.
这是因为原网卡信息还保留着 删除即可
首先先将网卡文件中的mac 地址跟uuid 删掉之后删除 下述文件 重启电脑 即可
rm -rf /etc/udev/rules.d/70-persistent-net.rules