I have been trying to install various Vagrant Boxes from Hashicorp's Vagrant Box Catalog but none seem to be compatible with:
- Vagrant version:
2.2.9 - VirtualBox versions:
6.0.xor6.1.x - Host:
Mac Catalina
I have tried multiple workarounds shared online and either the Guest Additions don't match or there are none available.
Both the plugin and the manual addition of guest additions also doesn't work.
Everything seems to work fine except for the shared folders syncing. Looking to get a workaround to fix the shared folder sync or a standard Linux Vagrant Box that is compatible with the VirtualBox guest additions.
The issue was fixed by manually mounting the Guest Additions
VBoxGuestAdditions.isofile as CD-ROM in the VirtualBox.Despite this, the Vagrant boxes may fail to sync shared folders via VirtualBox provider and instead use
rsyncfor the same.This can be fixed by updating the
Vagrantfileby explicitly setting the provider type toVirtualBoxin the config.After this
vagrant reloadand the shared folder sync should work as expected.Not sure if it was able to find the guest additions
default: Checking for guest additions in VM...or if the previous tweaking with the guest additions took effect but the shared folder sync works as expected.Just for an update, reinstalled Vagrant and the current working versions are as follows:
2.2.106.0.24 r139119