Skip to content

Commit

Permalink
Enable symlinks on vboxsf for VirtualBox 4.2 [GH-713]
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed Feb 6, 2013
1 parent 5f2c87d commit 387692f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/providers/virtualbox/driver/version_4_2.rb
Expand Up @@ -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

Expand Down

0 comments on commit 387692f

Please sign in to comment.