我尝试使用最新版本的 Vagrant VirtualBox 和 windows 10(最新更新)
运行 vagrant 设置:
Vagrant 1.8.6
VirtualBox 5.1.8 r111374 (Qt5.5.1)
如果我在我的 Vagrant 文件中设置,
config.vm.network :private_network, ip: "192.168.33.10"
我会收到此错误:
Error renaming connection:
Cannot rename this connection. A connection with the name you specified already exists. Specify a different name.
到目前为止,我尝试安装/删除 vagrant 和 virtualbox,我什至降级和升级了.. 重新启动了我的电脑几次,关闭了我的代理,跟踪了每一次疯狂的黑客攻击,但我总是得到那个错误。
我什至去 regedit 并删除了那里的所有相关密钥,但没有成功!
控制台的输出:
vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: 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_INVALIDARG
VBoxManage.exe: error: Failed to create the host-only adapter
VBoxManage.exe: error: Assertion failed: [!aInterfaceName.isEmpty()] at 'F:\tinderbox\win-5.1\src\VBox\Main\src-server\HostNetworkInterfaceImpl.cpp' (74) in long __cdecl HostNetworkInterface::init(class com::Bstr,class com::Bstr,class com::Guid,enum __MIDL___MIDL_itf_VirtualBox_0000_0000_0038).
VBoxManage.exe: error: Please contact the product vendor!
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleCreate(struct HandlerArg *)" at line 71 of file VBoxManageHostonly.cpp