Last Updated: August 12, 2019
· turtlebender

Symlinks in shares for Vagrant

I use symlinks in my shared directories for vagrant. Virtualbox doesn't allow this by default, so I found here: that you can add the following config entry to allow symlinks to work:

config.vm.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/SHARE_NAME", "1"]

2 Responses
Add your response

Since Vagrant 1.1 this is now default behavior.

Just for reference, for Vagrant 1.2.2 customizing provider is now done by:

config.vm.provider "virtualbox" do |v|
  v.customize (...)
over 1 year ago ·

For those using Windows Host (7 in my particular case), the guest OS will not be able to create SymLinks unless VirtualBox is running as admin.

over 1 year ago ·