克隆虚拟机之后更改ip报错Bringing up interface eth0: Error: No suitable device found: no device found for connection 'System eth0'.

Bringing up interface eth0:  Error: No suitable device found: no device found for connection 'System eth0'.

 

原因是由于 /etc/udev/rules.d/70-persistent-net.rules文件中的HWaddr和/etc/sysconfig/network-scripts/ifcfg-eth0的HWaddr与新机器的HWaddr不符

解决方法,删除/etc/udev/rules.d/70-persistent-net.rules之后重启机器,然后更改/etc/sysconfig/network-scripts/ifcfg-eth0的HWaddr与70-persistent-net.rules中的相等即可

posted @ 2022-06-07 13:11  qian@@jing  阅读(107)  评论(0编辑  收藏  举报