Reputation: 5221
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"]
Upvotes: 11
Views: 7155
Reputation: 38836
Or from the command line
VBoxManage setextradata <VM Name> VBoxInternal2/SharedFoldersEnableSymlinksCreate/<volume> 1
Upvotes: 1
Reputation: 37630
You just have to add the setextradata parameter for every shared folder mount.
config.vm.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/k5", "1"]
Upvotes: 11