【发布时间】:2015-10-09 04:50:30
【问题描述】:
我有 gentoo(linux) 主机。在其上,我安装了 Virtualbox 4.3.28 和 vagrant 1.4.3(这些是 gentoo 的最新可用版本)。
在 vagrant up 上,Ubuntu 14.04 启动。我也可以 ssh 到 Ubuntu。但是,一旦它启动,我就会收到以下错误。下面是我的 Vagrantfile 和输出错误。
P.S 我从头开始创建了 Ubuntu 14.04 基础盒
-----------Vagrantfile-------------
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "Ubuntu"
config.vm.boot_timeout = "700"
config.vm.provider :virtualbox do |vb|
vb.gui = true
end
end
-----------Output in terminal------------
Bringing machine 'default' up with 'virtualbox' provider...
[default] Clearing any previously set forwarded ports...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] Booting VM...
[default] Waiting for machine to boot. This may take a few minutes...
**
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.**
有解决这个问题的办法吗?
【问题讨论】:
-
serverfault.com 上似乎有几个帖子讨论了类似的问题。您的问题可能属于那里。
标签: linux ubuntu timeout vagrant virtualbox