joomlatools-vagrant
joomlatools-vagrant copied to clipboard
Install vagrant-vbguest plugin by default
Install the vagrant-vbguest plugin by default.
If you want to manually install newer Virtual Box Guest Additions you will have to do the following:
- Make a backup before attempting any of this!
- Login to SSH on your current Vagrant Box
- Run this command inside the Vagrant Box: sudo apt-get remove dkms build-essential linux-headers-* && sudo apt-get install dkms build-essential linux-headers-$(uname -r)
- Halt the Vagrant Box
- Run this command inside the folder where the Vagrant Box is located: vagrant plugin install vagrant-vbguest
- Up the Vagrant Box and it should automatically update the Virtual Box Guest system to the latest version that your system can run.
Reports bash-completion as missing when following your steps. Not that it's essentials to work I guess, but maybe add to image?
@tomjanssens Version v1.4.4 includes the VirtualBox 5.0.16 guest additions by default, so Virtual Box 5 is supported by default now. (see 2922b67fb). I will update this ticket's description to install the vagrant-vbguest plugin by default (as we do with the vagrant-triggers
plugin).
@MindTooth Thanks for the report. As mentioned above the latest version of the box has Virtual Box 5 guest additions installed. The issue you mention doesn't prevent installation and is actually triggered by the Symfony/Console BashCompletion package that we have installed for the box
command (see https://github.com/stecman/symfony-console-completion/blob/master/src/HookFactory.php#L76-L77).
Digging deeper, this warning seems to be triggered n every ssh call that Vagrant makes in the background. I'll create a separate ticket for this. (#70)