抱歉,我对 vagrant 很陌生,我正在运行 vagrant 1.4.3 和 virtualbox 4.3.26。我的主机操作系统是 ubuntu 14.04.2。
我是一名 php 开发人员,我正在努力让我的开发环境为几个项目做好准备。
我从 vagrantbox.es 尝试的每个盒子在运行 vagrant up 命令时都会遇到相同的错误。
错误是:
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period. This can
mean a number of things.
If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.
If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.
我看过同样的问题并且尝试过
config.vm.provider :virtualbox do |vb|
vb.gui = true
end
添加这些行后,我会在我的框中获得登录页面,以便其启动,并且我可以在 GUI 界面中运行我的命令。
但令人惊讶的是我得到了同样的错误。我自己想,也许是因为来宾操作系统无法登录,我将这些行添加到我的流浪文件中
config.ssh.username = "vagrant"
config.ssh.password = "vagrant"
config.ssh.insert_key = "true"
但我收到这个错误
There are errors in the configuration of this machine. Please fix
the following errors and try again:
SSH:
* The following settings shouldn't exist: insert_key, password
事实上我完蛋了,我不知道我还能做什么。