简体   繁体   中英

vagrant on windows need a second vagrant up

I do have an annoying bug using Vagrant on Windows.

Whenever I do start a new VM (after init or destroy) it will not recognize the Linux VM startup. I need to cancle the command using ctrl-c and kill the Machine in vIrtualBox. The second start or any start after this will work.

Any Idea how to find the root cause for this, or which command is executed during

"[default] Waiting for VM to boot. This can take a few minutes."

Stefan

This can be a few things... the easiest way to tell the exact problem is to see what the VM itself is stalling on by running it in gui mode .

config.vm.provider "virtualbox" do |v|
  v.gui = true
end

It could be stuck at the grub prompt or something... it could also just be a bad image... perhaps try a different Vagrant base box .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM