Vagrant创建虚拟机报网络创建失败
平时在本地喜欢用Vagrant+VirtualBox的方式,快速创建起虚拟机。某天,不幸运的遇到了个报错:

There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["startvm", "bd2ee7ac-e57b-412a-9acf-0e5ea1756d02", "--type", "headless"]
Stderr: VBoxManage.exe: error: Failed to open/create the internal network 'HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter' (VERR_INTNET_FLT_IF_NOT_FOUND).
VBoxManage.exe: error: Failed to attach the network LUN (VERR_INTNET_FLT_IF_NOT_FOUND)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole
只好去看看对应的网络适配器了 HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter :

这里对应的就是我本地的以太网9了,看了下ipv4、ipv6的设置都有勾选,那应该正常,把这个适配器禁用之后,在启用就好!

浙公网安备 33010602011771号