win10 vagrant The command and stderr is shown below. Command: ["hostonlyif", "create"]

1
2
3
4
5
6
7
8
9
10
11
12
13
14
D:\workspace\vagrant\Homestead>vagrant up
Bringing machine 'homestead-7' up with 'virtualbox' provider...
==> homestead-7: Clearing any previously set network interfaces...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["hostonlyif", "create"]

Stderr: 0%...
Progress state: E_FAIL
VBoxManage.exe: error: Failed to create the host-only adapter
VBoxManage.exe: error: Could not find Host Interface Networking driver! Please reinstall
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleCreate(struct HandlerArg *)" at line 94 of file VBoxManageHostonly.cpp

我的處理方法是: 重裝virtualbox,然後再運行 vagrant up

Reference
  1. Windows 10 - Failed to create the host-only adapter
  2. “Failed to create host network interface” on Windows 10