錯誤:
VBoxManage: error: Nonexistent host networking interface, name 'vboxnet0' (VERR_INTERNAL_ERROR)
原因:
原來配置的網卡發生了變更,找不到了,啟動失敗。
解決方法:
第一步,命令:
VBoxManage showvminfo 虛擬機名 -details -machinereadable
第二步:
在里面找關鍵字“vboxnet0”
hostonlyadapter2="vboxnet0"
問題就是?hostonlyadapter2 設置的網卡找不到了。
修改它就好了。
第三步:
查看宿主機的網卡
ifconfig -a
選擇正在使用的網卡
第四步:
修改:VBoxManage modifyvm 虛擬機名 --出錯的屬性 正在使用的網卡
VBoxManage modifyvm slaver1-51 --hostonlyadapter2 bond0
參考文獻:https://lists.opensuse.org/opensuse/2011-12/msg01661.html