Virtualbox 6.x w/ GuestAdditions 5.x - Vagrant box

Discussions related to using VirtualBox on Linux hosts.

Virtualbox 6.x w/ GuestAdditions 5.x - Vagrant box

Postby falcon74 » 16. Mar 2020, 22:30


Recently I setup a Vagrant 'box' based on generic/centos7 (from, which in more familiar terms (those who are unfamiliar with Vagrant) means a Virtualbox guest VM using an image based on CentOS7 Minimal ISO w/ 2 vCPU, 2GB vRAM, 1 NAT vNIC etc. My host is Windows 10 64-bit Enterprise Edition, and Virtualbox is 6.1.2. Vagrant does the 'automagical' creation of the Virtualbox guest with the right image and settings as defined above.

What I noticed on the guest VM is running Guest Additions version 5.2.34r133893 ! It seems that guest additions are working as expected -- well based on lsmod output, i.e.
Code: Select all   Expand viewCollapse view
[vagrant@centos7 yum.repos.d]$ lsmod | grep vboxguest
vboxguest             311499  2 vboxsf

[vagrant@centos7 yum.repos.d]$ sudo /usr/sbin/VBoxService --version

Is that really expected to work ? That is, do 5.x guest-additions work with 6.1 Virtualbox ?

Posts: 14
Joined: 4. Jun 2018, 20:02

Re: Virtualbox 6.x w/ GuestAdditions 5.x - Vagrant box

Postby scottgus1 » 16. Mar 2020, 23:50

You'll need to ask on the Vagrant forums. Vagrant uses Virtualbox in ways we can't predict. We only support Virtualbox itself here.

However it is OK to run older Guest Additions, unless a particular feature requires an upgrade.
Human government is like that crazy uncle who hides a quarter in his fist behind his back, then asks you to guess which fist the quarter is in...
No matter which side you choose, Left or Right, both Sides are empty.
Posts: 7020
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: No registered users and 13 guests