0

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

3 に答える 3

3

また、同じ結果が表示されます (「VM の起動」が永遠に続きます)。これは vagrant のオプションではないようです: https://github.com/mitchellh/vagrant/issues/1631

于 2013-06-04T20:22:15.287 に答える
0

エラーは表示されません。指定した URL からボックスをプルダウンしてインポートし、起動を開始します。vagrant ssh起動が完了すると、VM にアクセスできるようになります。

于 2013-05-17T21:50:59.767 に答える
0

質問を正しく理解している場合、vagrant は「Booting VM」でスタックし、実際には起動しませんか?

ロギングを有効にするために環境変数を設定してみてください

$ VAGRANT_LOG=DEBUG vagrant up

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

また、別の画像を使用してみてください。precision32 イメージには、古いバージョンの仮想ボックス ゲストの追加が含まれている可能性があります。

于 2013-05-18T01:21:13.613 に答える