从主机(窗口)访问来宾机

时间:2016-01-27 20:55:51

标签: vagrant vagrantfile

我在Windows中安装了一个流浪虚拟机,它运行正常,我正在尝试从Windows连接到来宾机器,但是只要我在Vagrantfile中取消注释,就像:

config.vm.network "private_network", ip: "192.168.33.10"

OR

config.vm.network "public_network"

当重新加载流浪汉时,我收到了这个错误:

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.

The primary issue for this error is that the provider you're using
is not properly configured. This is very rarely a Vagrant issue.

2 个答案:

答案 0 :(得分:0)

我个人从未遇到过这个错误,从未在Windows上使用过vagrant。已经讨论过此问题here.

答案 1 :(得分:0)

我知道这没有任何意义,但是我只是打开VirtualBox,然后右键单击已创建的无用机器图像和变量Settings的{​​{1}},保存并运行后运行Audio

相关问题