我试图在
Windows 10周年更新后流浪,我收到一个错误:
$vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Checking if box 'scotch/box' is up to date... ==> default: Resuming suspended VM... ==> default: Booting VM... There was an error while executing `VBoxManage`,a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below. Command: ["startvm","5c441fcf-c08f-4adb-8318-532107a81da3","--type","headless"] Stderr: VBoxManage.exe: error: Nonexistent host networking interface,name 'VirtualBox Host-Only Ethernet Adapter #2' (VERR_INTERNAL_ERROR) VBoxManage.exe: error: Details: code E_FAIL (0x80004005),component ConsoleWrap,interface IConsole
在更新之前一切正常.我尝试重新安装最新版本的VirtualBox和Vagrant,但它没有帮助.
任何帮助表示赞赏.
解决方法
就像@RusalBes悲伤的那样,没有找到#2 adatper.因此,当适配器名称不是“#2”而不是普通的“VirtualBox仅主机以太网适配器”时,我在该机器上的VirtualBox中进行了网络适配器设置.比我刚刚点击OK而且一切正常. :)我希望这会有所帮助.