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: https://github.com/mitchellh/vagrant/issues/713#issuecomment-4416384 that you can add the following config entry to allow symlinks to work:
config.vm.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/SHARE_NAME", "1"]
Written by Tom Howe
Related protips
2 Responses
Since Vagrant 1.1 this is now default behavior.
See https://github.com/mitchellh/vagrant/issues/713#issuecomment-13201507
Just for reference, for Vagrant 1.2.2 customizing provider is now done by:
config.vm.provider "virtualbox" do |v|
v.customize (...)
end
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
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#N
Authors
Related Tags
#n
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#