Vagrant shared folder. Symlinks

chef-infra, vagrant, virtualbox

Solution

You just have to add the setextradata parameter for every shared folder mount.

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

Problem

I am trying to figure out If I am capable of having symlinks in my shared folder when booting up a vm. I currently have a project with a few symlinks in the library directory which I would like to edit on the fly and see the changes on the vm. I can't seem to figure this out. I have a feeling it's not possible. The symlinks do not exist. ``` config.vm.share_folder "k5", "/projects", "/Users/slik/projects" config.vm.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/v-root", "1"] ```

Original source