-
Notifications
You must be signed in to change notification settings - Fork 16
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
Automate install of GuestAdditions #104
Comments
The baseboxes do come with vbguest additions, but not the right ones.. |
centos-7.1 has vbguest additions 5.0.2 |
Perhaps I should consider requiring vagrant-vbguest, and configure it to automatically install if there is a mismatch: https://github.com/dotless-de/vagrant-vbguest |
Or maybe not automatically (usually not necessary), but at least mention these convenient command-line commands to check and fix things if there is trouble: https://github.com/dotless-de/vagrant-vbguest#running-as-a-command |
I published newer baseboxes, and will add docs about vagrant-vbguest in the README. Closing this ticket.. |
New report:
|
fixed with following steps.. Install kernel include headers (required by VBoxLinuxAdditions):
Double check that kernel extensions are up and running:
|
The plugin vagrant-vbguest seems to default to updating available additions, which is only really necessary if VBox has a larger major or minor version. I'd prefer if vagrant-vbguest does not automatically mess things up, so I'd advice adding this to your Vagrantfile if it isn't in there yet: if Vagrant.has_plugin?("vagrant-vbguest")
config.vbguest.no_install = true
end I'll add that by default to the Vagrantfile of mlvagrant |
The end conclusion is, it should not be necessary to install guestadditions automatically. Baseboxes 6.8 and 7.2 have pretty recent guestadditions that are compatible up to vbox 5.1.4 and a little beyond probably. A tool like vagrant-vbguest expects installers and compile tools to be available upfront, which is not the case, causing it to leave a worse state than without attempting guestadditions updates. I'll freshen up baseboxes again with newer copies from the CHEF project if there are enough requests, and if those become available in the CHEF project. I disable auto-install via #111. Closing this as wontfix.. |
How about automating the installation of the Vbox Guest Additions CD so we can share folders with the host (and use locally installed dev tools)
The text was updated successfully, but these errors were encountered: