Skip to content

Commit

Permalink
Automatically enable symlinks on vboxsf for VirtualBox 4.1 (see hashi…
Browse files Browse the repository at this point in the history
  • Loading branch information
Schpidi committed Oct 23, 2013
1 parent 9094a6b commit 889233e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/providers/virtualbox/driver/version_4_1.rb
Expand Up @@ -427,7 +427,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 889233e

Please sign in to comment.