我正在使用安装在Amazon EC2上的Ubuntu Server 12.04.2 LTS,架构x86_64以及m1.medium机器类型。
要安装virtualbox我做了
sudo apt-get install virtualbox
现在,
vagrant init precise32 http://files.vagrantup.com/precise32.box
vagrant up
总是停止说
Bringing machine 'default' up with 'virtualbox' provider...
[default] Box 'precise32' was not found. Fetching box from specified URL for
the provider 'virtualbox'. Note that if the URL does not have
a box for this provider, you should interrupt Vagrant now and add
the box yourself. Otherwise Vagrant will attempt to download the
full box prior to discovering this error.
Downloading or copying the box...
Extracting box...te: 8240k/s, Estimated time remaining: --:--:--)
Successfully added box 'precise32' with provider 'virtualbox'!
[default] Importing base box 'precise32'...
[default] Matching MAC address for NAT networking...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] Booting VM...
答案 0 :(得分:3)
我也看到了相同的结果(“永远引导虚拟机”)。看起来这不是流浪者的选择:https://github.com/mitchellh/vagrant/issues/1631
答案 1 :(得分:0)
我没有看到错误。它从您提供的URL中拉下框,导入它,然后开始启动。完成启动后,您应该能够vagrant ssh
进入虚拟机。
答案 2 :(得分:0)
如果我正确地理解了这个问题,那么流浪汉就会被困在"引导VM"从来没有真正开始?
尝试设置环境变量以启用日志记录
$ VAGRANT_LOG=DEBUG vagrant up
http://docs-v1.vagrantup.com/v1/docs/debugging.html
另外,请尝试使用其他图像。精确32图像可能具有较旧版本的虚拟框客户添加。