【发布时间】:2014-07-17 02:32:49
【问题描述】:
基于官方doc,我尝试使用“hashicorp/precise32”框安装 Vagrant。我已经添加了框:
vagrant box add hashicorp/precise32
并更改配置文件:
config.vm.box = "hashicorp/precise32"
尝试启动虚拟环境时,我得到:
C:\Users\xxxx\Documents\vagrant_getting_started>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'hashicorp/precise32' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 22 => 2222 (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
The guest machine entered an invalid state while waiting for it
to boot. Valid states are 'starting, running'. The machine is in the
'poweroff' state. Please verify everything is configured
properly and try again.
If the provider you're using has a GUI that comes with it,
it is often helpful to open that and watch the machine, since the
GUI often has more helpful error messages than Vagrant can retrieve.
For example, if you're using VirtualBox, run `vagrant up` while the
VirtualBox GUI is open.
按照建议,我打开了 VirtualBox GUI 并尝试手动启动它:
有人知道如何解决吗? 谢谢
【问题讨论】:
标签: virtual-machine vagrant virtualbox