Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install VirtualBox Guest Additions with chef-solo #49

Open
dkingofpa opened this issue May 26, 2012 · 3 comments
Open

Install VirtualBox Guest Additions with chef-solo #49

dkingofpa opened this issue May 26, 2012 · 3 comments
Milestone

Comments

@dkingofpa
Copy link

If the version of VirtualBox on the host and the version of the VirtualBox Guest Additions installed on the guest do not match, you'll get a message like this during a vagrant up:

dking@desktop21 ~/Projects/vagrant-drupal (develop) $ vagrant up
[default] Importing base box 'ubuntu-10.04.4-server-amd64'...
[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.6
VirtualBox Version: 4.1.16

Currently, we're installing the Guest Additions during the base box build. The version of Guest Additions is determined programmatically by looking at the version of VirtualBox currently installed on the host. As a result, the chances that a user will get this warning message are high.

  1. Would it be impractical to have a base box per VirtualBox version moving forward?
  2. Let's take a look at installing the Guest Additions during the chef-solo run. Perhaps it's own cookbook. Is there an ubuntu package? Not sure how long it would take, but the file would be around 40-50MB just to download.

FWIW, the warning is displayed, but I haven't run into an issue yet with VirtualBox releases in the 4.1.x series.

@dkingofpa
Copy link
Author

@wizonesolutions
Copy link

vagrant-vbguest works really well. If you can just get the user to install that, you are set. They have really nailed it.

@dkingofpa
Copy link
Author

Thanks for the feedback. I haven't had time to test vagrant-vbguest yet, but at this point its looking like the solution. I'd rather leverage the community than have to write more custom cookbooks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants