"Waiting for VM to boot. This can take a few minutes." Per issue 391, 424, etc

瀏覽次數:1,693 次
跳到第一則未讀訊息

justin...@gmail.com

未讀,
2012年1月9日 下午6:50:572012/1/9
收件者:Vagrant
Hi,

My VM (tried with lucid32 and ubuntu-1104-server-i386) hangs "Waiting
for VM to boot." During that time, I can see the VM boot normally
when viewed in the VM manager, and I can do vagrant ssh to get into
the box shortly thereafter.

I added "config.ssh.max_tries = 100" as per a comment on one of the
ticket, which allows the VM to finish loading after 6 or 7 minutes.
Since I'm trying to test Chef provisioning...its slow. ;)

Any ideas about how to get around this? I see the long comment trail
on the issue, but not clear if its been resolved or how.

Thanks,
Justin

Stefano Pallicca

未讀,
2012年1月10日 中午12:37:392012/1/10
收件者:vagra...@googlegroups.com
The following solution worked for me:

- Boot in gui mode by adding the following line to your Vagrantfile:

config.vm.boot_mode = :gui

- Login when prompted using user/pass: vagrant

- Edit /etc/rc.local adding this line *BEFORE* exit 0:

/etc/init.d/networking restart

Try it and let me know if it works for you, too.

Cheers

Carlton

未讀,
2012年3月28日 晚上8:17:312012/3/28
收件者:vagra...@googlegroups.com
Just want to +1 Stefano's suggestion.

Was having problems that while trying new recipies and getting my VM into a nice sate for development attempting to "vagrant reload" caused it to hang

Am on windows, lucid32 box and 1.0.2 vagrant
回覆所有人
回覆作者
轉寄
0 則新訊息