Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Install vagrant-vbguest plugin by default #51

Open
tomjanssens opened this issue Apr 15, 2016 · 3 comments
Open

Install vagrant-vbguest plugin by default #51

tomjanssens opened this issue Apr 15, 2016 · 3 comments
Milestone

Comments

@tomjanssens
Copy link

tomjanssens commented Apr 15, 2016

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 tomjanssens modified the milestones: Backlog, v1.4.5 Apr 15, 2016
@ghost
Copy link

ghost commented May 13, 2016

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

@stevenrombauts
Copy link
Member

@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 2922b67). I will update this ticket's description to install the vagrant-vbguest plugin by default (as we do with the vagrant-triggers plugin).

@stevenrombauts stevenrombauts changed the title Support Virtual Box 5 Install vagrant-vbguest plugin by default May 18, 2016
@stevenrombauts
Copy link
Member

stevenrombauts commented May 18, 2016

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

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

No branches or pull requests

2 participants