Hello Error message state virtualbox additions are not there.
You need to install that, and if you upgrade the kernel, reboot the machine and then rebuild the kernel modules in EL/fedora is done like /etc/init.d/vbox-add setup this is required as the folder where you Vagrantfile is will be mounted as /vagrant inside the vm. Also, before packaing the box. edit the eth0 conf file, remove UUID and macaddress and ensure is ready for dhcp delete other nic configurations like eth1 eth2 check /etc/udev/rules.d/ if there is a file like 70-persistent-net.rules or similar delete it, this cause issues on EL/Fedora not sure on other distros. To create boxes, have a look at packer.io with a json file as template, you can build automatically a box. Hope this helps Alvaro On Sun, Oct 12, 2014 at 5:24 PM, Jason Hsu <[email protected]> wrote: > I'm using the Debian Wheezy box I created from the procedure at > http://hadooppowered.com/2014/05/10/create-a-debian-wheezy-vagrant-box/ . > > Here's the output I get when I enter "vagrant up": > 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: 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: Remote connection disconnect. Retrying... > default: Warning: Remote connection disconnect. Retrying... > ==> default: Machine booted and ready! > GuestAdditions seems to be installed (4.1.18) correctly, but not running. > stdin: is not a tty > Starting the VirtualBox Guest Additions ...fail! > (modprobe vboxguest failed) > stdin: is not a tty > Removing existing VirtualBox DKMS kernel modules/etc/init.d/vboxadd: 365: > /etc/init.d/vboxadd: uninstall: not found > ...done. > Removing existing VirtualBox non-DKMS kernel modules ...done. > Building the VirtualBox Guest Additions kernel modules > The headers for the current running kernel were not found. If the following > module compilation fails then this could be the reason. > > Doing non-kernel setup of the Guest Additions ...done. > Starting the VirtualBox Guest Additions ...fail! > (modprobe vboxguest failed) > ==> default: Checking for guest additions in VM... > The following SSH command responded with a non-zero exit status. > Vagrant assumes that this means the command failed! > > /etc/init.d/vboxadd setup > > Stdout from the command: > > Removing existing VirtualBox DKMS kernel modules ...done. > Removing existing VirtualBox non-DKMS kernel modules ...done. > Building the VirtualBox Guest Additions kernel modules > The headers for the current running kernel were not found. If the following > module compilation fails then this could be the reason. > > Doing non-kernel setup of the Guest Additions ...done. > Starting the VirtualBox Guest Additions ...fail! > (modprobe vboxguest failed) > > > Stderr from the command: > > stdin: is not a tty > /etc/init.d/vboxadd: 365: /etc/init.d/vboxadd: uninstall: not found > > -- > 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. > -- 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.
