Shutting down loopback interface: [ OK ] Bringing up loopback interface: [ OK ] Bringing up interface eth0: Error: No suitable device found: no device found for connection 'System eth0'. [FAILED]
解决办法:
1. vi /etc/udev/rules.d/70-persistent-net.rules
2. 查看 NAME="eth1" 的 Mac 地址,即 ATTR{address},记录下来
3. vi /etc/sysconfig/network-scripts/ifcfg-eth0
修改如下配置项:
ATTR{address}
DEVICE="eth1"
HWADDR="上面记录的Mac地址"
IPADDR="想要的IP地址"
4. 重启系统