场景
vm 虚拟机备份了一个系统,导出的 ovf 文件,还原时候发现网卡没有ip
使用 systemctl status networking 发现报错:fail to start raise interface
解决
-
找到网卡编号 ip addr
-
vi /etc/network/interfaces 修改为自己的网卡编号
-
重启虚拟机 reboot
本文共 225 字,大约阅读时间需要 1 分钟。
vm 虚拟机备份了一个系统,导出的 ovf 文件,还原时候发现网卡没有ip
使用 systemctl status networking 发现报错:fail to start raise interface
找到网卡编号 ip addr
vi /etc/network/interfaces 修改为自己的网卡编号
重启虚拟机 reboot
转载于:https://my.oschina.net/u/2502289/blog/2397499