Enable symlinks on vboxsf for VirtualBox 4.2 [GH-713]

This commit is contained in:
Mitchell Hashimoto 2013-02-06 11:51:59 -08:00
parent 5f2c87d41d
commit 387692f9c8
1 changed files with 5 additions and 0 deletions

View File

@ -408,7 +408,12 @@ module VagrantPlugins
"--hostpath",
folder[:hostpath]]
args << "--transient" if folder.has_key?(:transient) && folder[:transient]
# Add the shared folder
execute("sharedfolder", "add", @uuid, *args)
# Enable symlinks on the shared folder
execute("setextradata", @uuid, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/#{folder[:name]}", "1")
end
end