1. 程式人生 > >完整克隆一臺新的虛擬機器 無法聯網(error fetching interface information device not found),

完整克隆一臺新的虛擬機器 無法聯網(error fetching interface information device not found),

進行虛擬機器克隆後,發現不能聯網,網路使用橋接模式聯網,


網絡卡驗證 service network restart

報error fetching interface information device not found


查看了兩臺虛擬機器MAC 地址是不一樣的,這個是沒問題的。


最後google了下error fetching interface information device not found
發現有個地方      vim /etc/udev/rules.d/70-persistent-net.rules 這個檔案裡


有兩行,第一行是原始虛擬機器的網絡卡設定,
第二個是克隆出來的機器的網絡卡設定,

把第一行去掉,eth1改成eth0就好了。

改過儲存,

reboot,

ping www.baidu.com 可以了。

因為其他地方網路配置的 eth0的原因。


相關推薦

no