If your host is linux, you can also use the libvirt plugin, which does
enable nesting. for some reason, virtualbox 5 on linux does not enable
nesting even though it uses kvm.
On Thursday, June 25, 2015 at 9:34:03 PM UTC-7, zhz shi wrote:
>
> Hi All,
>
> I have a virtual machine running CentOS 6.6 and I installed vagrant 1.7.2
> and VirtualBox 4.3 on it. I'm trying to use vagrant to run guest machine
> with ubuntu or some other OS, but during the 'vagrant up' phase, vagrant
> always failed to ssh to the guest machine.
>
> Logs I got is:
>
> $ vagrant up
>
>
> [2/47]
> Bringing machine 'default' up with 'virtualbox' provider...
> ==> default: Importing base box 'ubuntu/trusty64'...
> ==> default: Matching MAC address for NAT networking...
> ==> default: Checking if box 'ubuntu/trusty64' is up to date...
> ==> default: Setting the name of the VM:
> vagrant-base_default_1435292165676_93887
> ==> default: Clearing any previously set forwarded ports...
> ==> default: Clearing any previously set network interfaces...
> ==> default: Preparing network interfaces based on configuration...
> default: Adapter 1: nat
> ==> default: Forwarding ports...
> default: 22 => 2222 (adapter 1)
> ==> 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...
> default: Warning: Connection timeout. Retrying...
> default: Warning: Connection timeout. Retrying...
> default: Warning: Connection timeout. Retrying...
> default: Warning: Connection timeout. Retrying...
> 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.
>
> -------------------
>
> Seems the guest machine is running:
> $ vagrant status
> Current machine states:
>
> default running (virtualbox)
>
> -----------
>
> Does anybody here have any idea what's the problem is?
>
> Thanks a lot for any help.
>
> BR, zhz
>
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of
those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/fab840ea-9c50-4ab8-91c2-e1d7f1d09298%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.