VirtualBox导入其他后网络问题
在其他电脑上安装了虚拟机,导出, 然后在其他电脑上导入以后,会导致网络链接问题,无法获取ip,报错
Device eth0 does not seem to be present
1 打开 /etc/udev/rules.d/70-persistent-net.rules
2 记录 eth1网卡的mac地址
3 打开/etc/sysconfig/network-scripts/ifcfg-eth0
4 将 DEVICE="eth0" 改成 DEVICE="eth1" ,HWADDR的mac地址 改成eth1 的mac地址
5 重启网络 service network restart
(ifchf-eth0 中 设置要正确,onboot = yes)