原因是vm配置的网卡mac地址与,Ubuntu jeos安装是的配置缓存文件不同
使用 ifup eth0出现
eth0: ERROR while getting interface flags: No such device
SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
SIOCSIFBRDADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
Failed to bring up eth0.
删除缓存文件,重启后解决。
sudo rm /etc/udev/rules.d/70-persistent-net.rules