Any update on this subject? Just, could you find a way to solve it? BR,
Em segunda-feira, 3 de junho de 2013 10h59min50s UTC-3, Just Anidiot escreveu: > > > On Thursday, May 30, 2013 3:42:17 PM UTC-4, Just Anidiot wrote: >> >> In general I have two host-only networks defined in virtualbox, vboxnet0 >> which is the 192.168.56.xxx network, and vbox58 which is 192.168.58.xxx. >> >> Now I have been setting the ip address through the Vagrantfile >> (192.168.56.24). However I just tried it where I did >> config.vm.network :private_network, type: :dhcp, :adapter => 2 >> I was rather expecting it to use the vboxnet0 network. Vagrant created a >> third vboxnet1 network on 172.28.128.xxx. Is there a way to tell it use a >> specific virtualbox host-only network. In my case I want it to use the >> vboxnet0 network. >> >> Thanks in advance. >> > > > So I found adding > > config.vm.provider :virtualbox do |vb| > vb.customize ["modifyvm", :id, "--hostonlyadapter2", "vboxnet0"] > end > > will set it to what I want. However doing a vagrant reload results in a > disaster: > > There was an error while executing `VBoxManage`, a CLI used by Vagrant > for controlling VirtualBox. The command and stderr is shown below. > > Command: ["showvminfo", "76fd613f-aa40-4a2d-b515-018c856f6c3d", > "--machinereadable"] > > Stderr: VBoxManage: error: The object is not ready > VBoxManage: error: Details: code E_ACCESSDENIED (0x80070005), component > SessionMachine, interface IMachine, callee nsISupports > VBoxManage: error: Context: "GetBootOrder(i, &bootOrder)" at line 615 of > file VBoxManageInfo.cpp > > What am I doing wrong? > > > -- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
