对Vagrantfile进行了更改 - 现在我的流浪者将无法启动

时间:2016-02-19 20:40:20

标签: vagrant vagrantfile

我对Vagrantfile进行了一些更改。我所做的就是在配置中添加更多处理器和ram。

之前(并注释掉):

....

#config.vm.provider "virtualbox" do |vb|
  #   # Display the VirtualBox GUI when booting the machine
  #  vb.gui = true
  #
  #   # Customize the amount of memory on the VM:
  #   vb.memory = "1024"
  #   vb.cpus = "2"
#end

....

后:

....

config.vm.provider "virtualbox" do |vb|
  #   # Display the VirtualBox GUI when booting the machine
    vb.gui = true
  #
  #   # Customize the amount of memory on the VM:
     vb.memory = "1024"
     vb.cpus = "2"
end

....

我重新启动机器并出现此错误:

客户机在等待时进入无效状态 开机有效状态是“开始,正在运行”。机器在 '关机'州。请验证所有配置 正确再试一次。

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流浪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.

所以我将我的Vagrantfile改回原来的状态(如上所述)。

我仍然无法使用vagrant up启动计算机。我做错了什么?

当我启用了UI时。只是打开和关闭,我无法看到它。

0 个答案:

没有答案