Automatically enable symlinks on vboxsf for VirtualBox 4.1 (see #713 and 387692f9c8
).
This commit is contained in:
parent
9094a6b2b1
commit
889233ed94
|
@ -427,7 +427,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
|
||||
|
||||
|
|
Loading…
Reference in New Issue