Sunday, February 12, 2012

Sync: VBox, Vagrant, and Guest Additions ...

Are you seeing:

[default] Importing base box 'qa-vm'...
[default] The guest additions on this VM do not match the install version of
VirtualBox! This may cause things such as forwarded ports, shared
folders, and more to not work properly. If any of those things fail on
this machine, please update the guest additions and repackage the
box.

Guest Additions Version: 4.1.0
VirtualBox Version: 4.1.8

I followed the steps posted by Yodi.
It looks like you can change the iso name to match the version needed.

* Important * On the vm.
I used the following:


wget -c http://download.virtualbox.org/virtualbox/4.1.8/VBoxGuestAdditions_4.1.8.iso
sudo umount /mnt
sudo mount VBoxGuestAdditions_4.1.8.iso -o loop /mnt
sudo sh /mnt/VBoxLinuxAdditions.run


Thank you Yodi.

This appears to have worked on both:
* centos 6 2.6.32-71.el6.x86_64 x86_64 GNU/Linux
* ubuntu 2.6.32-33-server #70-Ubuntu SMP Thu Jul 7 22:28:30 UTC 2011 x86_64 GNU/Linux

Tony 'i dunna wanna be a yak shaver ...' R