Skip to content

Instantly share code, notes, and snippets.

@felipemarques
Last active September 17, 2015 00:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felipemarques/c18a317a0e10866aa1f8 to your computer and use it in GitHub Desktop.
Save felipemarques/c18a317a0e10866aa1f8 to your computer and use it in GitHub Desktop.
How to fix error Vagrnat 1.7.4 + VirtualBox 5.x in Windows 10.
The is the below:
$ { homestead } master » vmup /x/xampp/htdocs/homestead
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'laravel/homestead' is up to date...
==> 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_FAIL
VBoxManage.exe: error: Failed to create the host-only adapter
VBoxManage.exe: error: Code E_FAIL (0x80004005) - Unspecified error (extended info not available)
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleCreate(struct HandlerArg *)" at line 70 of file VBoxManageHostonly.cpp
New solution:
Install Virtualbox 5 and Vagrant 1.7.4
1 - Comment line 17: config.vm.network :private_network, ip: settings["ip"] ||= "192.168.10.10" in homestead.rb
2 - Comment line 64: b.use ClearNetworkInterfaces in action.rb (path ~\HashiCorp\Vagrant\embedded\gems\gems\vagrant-1.7.4\plugins\providers\virtualbox\action.rb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment