After I package a box, vagrant can't connect to the VM. Im on Ubuntu using 
VirtualBox as my provider. 

This is what i did

I ran vagrant up using config.vm.box = "chef/debian-7.6" in my VagrantFile 
I installed some packages i needed.
I then ran

me@host:~/$ vagrant package --base #VirtualBox_id#
==> vagrant_default_1427203239853_61206: Exporting VM...
==> vagrant_default_1427203239853_61206: Compressing package to: 
/home/me/package.box

Which gave me a package.box file. 

I changed my VagrantFile config to use this file instead. 

me@ubuntu-dev:~/vagrant-test$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box '/home/me/package.box'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: 
vagrant-test_default_1427211030249_54877
==> 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: 3000 => 4444 (adapter 1)
    default: 5432 => 6666 (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: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...


I have tried adding
config.ssh.insert_key = false
Before i package the box, but i get the same result. 
Any ideas on what i can do? 


-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to