Virtual Box 4.3.14 Vagrant 1.6.3
当我流浪时我得到这个错误
default: warning: connection refused. Retying...
它一直持续到它放弃并说
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.
我在Windows 7上,我甚至尝试在管理员模式下运行cmd同样的事情
在我阅读其他网络资源时,我甚至尝试了vagrant reload
,但同样的事情,它会输出相同的内容
我没有在安装后调整我的虚拟机,基本上只需安装虚拟机并安装vagrant然后运行vagrant up
哦,就像我的vagrantfile和配置脚本来自这里一样
https://gist.github.com/JeffreyWay/9244801
https://gist.github.com/JeffreyWay/9244714
谷歌搜索并且幸运的是我无法找到明确的答案
提前Tnx
答案 0 :(得分:1)
它似乎是一个虚拟框/流浪汉版本不兼容问题
我卸载了Virtual Box 4.3.14并安装了Virtual Box 4.3.12并且它运行正常。基本上我降级了虚拟盒子。
我希望很快就能解决这个问题。
希望这有助于任何人。
答案 1 :(得分:0)
使用记事本打开你的vagrantfile并编辑它,使它看起来像这样:
请用一个字逐句记录你的vagrantfile。然后打开BIOS并打开虚拟化。观看此video以了解如何操作。这是一段很短的视频。
PS:在执行此操作之前,您可能需要卸载vagrant。在C:的Users文件夹中,会有一个名为.vagrant.d的文件夹,请在执行这些步骤之前将其删除。
卸载vagrant将要求您以管理员身份运行计算机。您可以右键单击“命令提示符”(在Windows搜索框中搜索cmd),然后单击“以管理员身份运行”。键入以下命令:net user administrator / active:yes 您将收到一条名为command的消息已成功完成。现在您可以注销并查看有两个帐户,其中一个是管理员。你可以从那里登录并卸载vagrant。