我刚刚在Laravel 5.2 documentation之后安装了带有Vagrant和Virtual-box的Homestead,当我运行vagrant up命令时,我得到了错误。
我没有找到config.vm文件来增加超时,但经过一些研究后我通过bios启用了intel虚拟化,它没有修复它。
我怎样才能揭示真正的问题?
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.
If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.
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.
答案 0 :(得分:0)
您可以使用GUI工具更改超时和所有内容。通常我们使用Oracle VM VirtualBox Manager
将此添加到您的Vagrantfile
config.vm.provider :virtualbox do |vb|
vb.gui = true
end