Vagrant box不启动(连接超时)

时间:2014-09-21 08:13:51

标签: virtual-machine vagrant virtualbox vagrantfile

我尝试在Windows 8.1(64位)系统上启动我的流浪盒,但它不起作用。我在没有问题的情况下在两个mashines上使用此设置。

这就是我得到的:

$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'puphpet/ubuntu1404-x64'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'puphpet/ubuntu1404-x64' is up to date...
==> default: Setting the name of the VM: vagrant-lamp_default_1411285570202_20465
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 80 => 8080 (adapter 1)
    default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...

我已经找到了解决方案,但没有任何帮助。我启用了虚拟化,并尝试在GUI模式下运行mashine,但没办法......任何人都有想法?需要更多信息?请问,我不知道应该提供什么。

1 个答案:

答案 0 :(得分:0)

我通过禁用Hyper-V解决了我的问题,因为Virtual Box无法在启用Hyper-V的情况下运行。你必须决定你想用什么。

禁用Hyper-V:搜索" Windows功能"。在那里你可以取消选中Hyper-V。之后你必须重新启动你的机器。

我建议使用提供Hyper-V的Vagrant框。