【问题标题】:Vagrant access guest machine from host (windows)Vagrant 从主机访问客户机(Windows)
【发布时间】:2016-01-27 20:55:50
【问题描述】:

我在 Windows 中安装了一个 vagrant 虚拟机,它工作正常,我正在尝试从 Windows 连接到客户机,但是一旦我取消注释 Vagrantfile 中的某些内容,例如:

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

config.vm.network "public_network"

重新加载 vagrant 时,我收到此错误:

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.

【问题讨论】:

  • 你看过VirtualBox gui吗?

标签: vagrant vagrantfile


【解决方案1】:

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

【讨论】:

    【解决方案2】:

    我知道这没有意义,但我只是打开 VirtualBox 并右键单击转到创建的流浪机器图像的 Settings 并禁用 Audio 并在保存并运行 vagrant up 后工作。

    【讨论】:

      猜你喜欢
      • 2023-03-25
      • 2014-10-15
      • 2015-12-24
      • 2021-05-07
      • 2014-11-02
      • 2021-12-25
      • 2014-07-29
      • 2015-07-13
      • 2015-08-05
      相关资源
      最近更新 更多