any help is much appreciated!
Vagrant 1.8.3
windows 10
tried diffrent boxes, ubuntu and mint
default vagrant file, with vagrant init
$ $ vagrant.exe up
==> default: Checking if box 'janihur/ubuntu-1404-desktop' 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: ["modifyvm", "60a76137-2c0e-46ab-a50e-7a37a6865051", "--nic2", "none", "--nic3", "none", "--nic4", "none", "--nic5", "none", "--nic6", "none", "--nic7", "none", "--nic8", "none", "--nic9", "none", "--nic10", "none", "--nic11", "none", "--nic12", "none", "--nic13", "none", "--nic14", "none", "--nic15", "none", "--nic16", "none", "--nic17", "none", "--nic18", "none", "--nic19", "none", "--nic20", "none", "--nic21", "none", "--nic22", "none", "--nic23", "none", "--nic24", "none", "--nic25", "none", "--nic26", "none", "--nic27", "none", "--nic28", "none", "--nic29", "none", "--nic30", "none", "--nic31", "none", "--nic32", "none", "--nic33", "none", "--nic34", "none", "--nic35", "none", "--nic36", "none"]
Stderr: VBoxManage.exe: error: Invalid NIC number 9
VBoxManage.exe: error: Invalid NIC number 10
VBoxManage.exe: error: Invalid NIC number 11
VBoxManage.exe: error: Invalid NIC number 12
VBoxManage.exe: error: Invalid NIC number 13
VBoxManage.exe: error: Invalid NIC number 14
VBoxManage.exe: error: Invalid NIC number 15
VBoxManage.exe: error: Invalid NIC number 16
VBoxManage.exe: error: Invalid NIC number 17
VBoxManage.exe: error: Invalid NIC number 18
VBoxManage.exe: error: Invalid NIC number 19
VBoxManage.exe: error: Invalid NIC number 20
VBoxManage.exe: error: Invalid NIC number 21
VBoxManage.exe: error: Invalid NIC number 22
VBoxManage.exe: error: Invalid NIC number 23
VBoxManage.exe: error: Invalid NIC number 24
VBoxManage.exe: error: Invalid NIC number 25
VBoxManage.exe: error: Invalid NIC number 26
VBoxManage.exe: error: Invalid NIC number 27
VBoxManage.exe: error: Invalid NIC number 28
VBoxManage.exe: error: Invalid NIC number 29
VBoxManage.exe: error: Invalid NIC number 30
VBoxManage.exe: error: Invalid NIC number 31
VBoxManage.exe: error: Invalid NIC number 32
VBoxManage.exe: error: Invalid NIC number 33
VBoxManage.exe: error: Invalid NIC number 34
VBoxManage.exe: error: Invalid NIC number 35
VBoxManage.exe: error: Invalid NIC number 36
box should start
a lot of invalid NIC numbers
https://github.com/mitchellh/vagrant/issues/6125
https://github.com/cambridge-healthcare/hi_sinatra-docker/issues/5
Hi @cdreier
Thank you for opening an issue. Could you please share the complete debug output as a GitHub gist? What version of VirtualBox are you using?
Hi @sethvargo
thanks a lot for your fast response!
i use a fresh install from virtual box, version 5.0.20 r106931
and my complete debug output: https://gist.github.com/cdreier/9b5beb38473e9221dfe71ad04b58f73b
also i tried the git bash, cmd and cmd as admin, everywhere the same issue
Confirm the problem. It is reproduced with Windows10/Vagrant 1.8.3/VirtualBox 5.0.20 and hashicorp/precise64
box.
Looks like it is caused by the recent change "Set maximum network adapters to 36 [GH-7293, GH-7286]". Indeed if change back max_network_adapters
from 36 to 8 at C:\HashiCorp\Vagrant\embedded\gems\gems\vagrant-1.8.3\plugins\providers\virtualbox\driver\base.rb
it starts successfully.
@apestov This fixed my issue as well.
thanks a lot for you fast help! everything is working again :-)
@apestov Wow, thanks for finding a solution so quickly! I had the same problem on the same setup as you and your solution corrected it.
@apestov Thanks! I am just getting started with Vagrant today and ran into this issue too. It's great to have it working!
@apestov Thanks! It's working for me.
@apestov thanks, my problem on win10 also went away after changing a value of max_network_adapters
.
same problem with ubuntu/xenial64 and other boxes as well, the update of vagrant totally killed our workflow, we needed to downgrade immediatelly for the time being
I confirm that changing from 36 to 8 does the job - Win7, vagrant 1.8.3, vbox 5.0.20
Fixed on Win10 for me too
@apestov your solution fixed the issue for me on:
Windows 7
Vagrant 1.8.3
VirtualBox-5.0.20 r106931
Please release new version
The fix worked for me too. Thanks!!
@sethvargo Thank you for the prompt Vagrant 1.8.4 release with that issue fixed!
Worked for me! Thanks a lot!
It helped me. Thanks!
many many many thanks for new release! it fixed all the issues! even nfs mounting under windows working again!
Ran into this issue after a fresh install of Windows. Changing max_network_adapters to 8 fixes this issue for me as well.
Worked for me, thanks!!
I'm going to lock this issue because it has been closed for _30 days_ โณ. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Most helpful comment
Confirm the problem. It is reproduced with Windows10/Vagrant 1.8.3/VirtualBox 5.0.20 and
hashicorp/precise64
box.Looks like it is caused by the recent change "Set maximum network adapters to 36 [GH-7293, GH-7286]". Indeed if change back
max_network_adapters
from 36 to 8 atC:\HashiCorp\Vagrant\embedded\gems\gems\vagrant-1.8.3\plugins\providers\virtualbox\driver\base.rb
it starts successfully.