0

I am using Ubuntu Server 12.04.2 LTS installed on Amazon EC2, architectue x86_64 with m1.medium machine type.

To install virtualbox I did

sudo apt-get install virtualbox 

Now,

vagrant init precise32 http://files.vagrantup.com/precise32.box
vagrant up

always halts saying

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...
4

3 回答 3

3

我也看到了相同的结果(“永远启动 VM”)。看起来这不是流浪汉的选择:https ://github.com/mitchellh/vagrant/issues/1631

于 2013-06-04T20:22:15.287 回答
0

我没有看到错误。它从您提供的 URL 中拉下框,导入它,然后开始启动。完成启动后,您应该能够vagrant ssh进入虚拟机。

于 2013-05-17T21:50:59.767 回答
0

如果我正确理解了这个问题,那么 vagrant 会卡在“正在启动 VM”并且从未真正启动过?

尝试设置环境变量以启用日志记录

$ VAGRANT_LOG=DEBUG vagrant up

http://docs-v1.vagrantup.com/v1/docs/debugging.html

另外,尝试使用不同的图像。精确 32 映像可能具有较旧版本的虚拟盒来宾添加。

于 2013-05-18T01:21:13.613 回答