Thursday, 11 October 2018

Vagrant file sync in Windows

Sometimes, vagrant boxes are provided without the VirtualBox Guest Additions preinstalled (I'm looking at you Centos).

If you need them for shared folders, just install the vagrant-vbguest plugin and add the following line to your Vagrantfile:

config.vm.synced_folder ".", "/vagrant", type: "virtualbox"