虚拟机复制下, Device eth0 does not see
2019-05-26 本文已影响0人
暗里着迷Robert
1. config eth0:
vi /etc/sysconfig/network-scripts/ifcfg-eth0
BOOTPROTO=static
IPADDR=192.168.0.X
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
2. rm -rf /etc/udev/rules.d/70-persistent-net.rules
3. vi /etc/hosts
192.168.0.X hostname
4. vi /etc/sysconfig/network