Page MenuHomePhabricator

Vagrant packager: Give steps to install the VBoxGuestAdditions ISO
Closed, DeclinedPublic

Description

Give steps to install the VirtualBox VBoxGuestAdditions ISO (which should already be in the VirtualBox installation directory) into the VM.

Event Timeline

It is already included -- https://mediawiki-vagrant-image.wmflabs.org/mediawiki-vagrant/contents/Plugins/

and there are instructions in the README.txt file on installing it from the image:

6. Install the "vagrant-vbguest" Vagrant plugin:

    $ cd /USB_DRIVE_PATH/Plugins
    $ vagrant plugin install vagrant-vbguest-0.10.0.gem

Oh sorry. I see now that this is about the iso that is used to actually update the guest additions in the VM, not the Vagrant plugin that uses it. Is that iso not somehow bundled with VirtualBox?

The VirtualBox Guest Additions for all supported guest operating systems are provided as a single CD-ROM image file which is called VBoxGuestAdditions.iso. This image file is located in the installation directory of VirtualBox. To install the Guest Additions for a particular VM, you mount this ISO file in your VM as a virtual CD-ROM and install from there.

-- https://www.virtualbox.org/manual/ch04.html#idm1740

Mattflaschen-WMF renamed this task from Vagrant packager: Bundle VBoxGuestAdditions to Vagrant packager: Provide steps to install the bundled ISO.Jul 12 2016, 12:55 AM
Mattflaschen-WMF updated the task description. (Show Details)

Yeah, I'm referring to the ISO.

Good point, I forgot it was bundled with VirtualBox. However, I believe that it doesn't actually use that ISO by default (it will still re-download it). It needs to be copied into the VM properly.

Mattflaschen-WMF renamed this task from Vagrant packager: Provide steps to install the bundled ISO to Vagrant packager: Give steps to install the VBoxGuestAdditions ISO.Jul 12 2016, 12:57 AM
Mattflaschen-WMF updated the task description. (Show Details)

Probably need to add vagrant vbguest --do install --iso /path/to/VBoxGuestAdditions.iso to the steps (from https://github.com/dotless-de/vagrant-vbguest#running-as-a-command ). Or figure out why the local file autodetection is not working.