Permalink
Browse files

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

  • Loading branch information...
mitchellh committed Feb 6, 2013
1 parent 5f2c87d commit 387692f9c8fa4031050646e2773b3d2d9b2c994e
Showing with 5 additions and 0 deletions.
  1. +5 −0 plugins/providers/virtualbox/driver/version_4_2.rb
@@ -408,7 +408,12 @@ def share_folders(folders)
"--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

0 comments on commit 387692f

Please sign in to comment.