joomlatools-vagrant icon indicating copy to clipboard operation
joomlatools-vagrant copied to clipboard

Install vagrant-vbguest plugin by default

Open tomjanssens opened this issue 8 years ago • 3 comments

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:

  1. Make a backup before attempting any of this!
  2. Login to SSH on your current Vagrant Box
  3. 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)
  4. Halt the Vagrant Box
  5. Run this command inside the folder where the Vagrant Box is located: vagrant plugin install vagrant-vbguest
  6. Up the Vagrant Box and it should automatically update the Virtual Box Guest system to the latest version that your system can run.

tomjanssens avatar Apr 15 '16 09:04 tomjanssens

Reports bash-completion as missing when following your steps. Not that it's essentials to work I guess, but maybe add to image?

ghost avatar May 13 '16 09:05 ghost

@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).

stevenrombauts avatar May 18 '16 17:05 stevenrombauts

@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)

stevenrombauts avatar May 18 '16 17:05 stevenrombauts