Enable symlinks on vboxsf for VirtualBox 4.2 [GH-713]
This commit is contained in:
parent
5f2c87d41d
commit
387692f9c8
|
@ -408,7 +408,12 @@ module VagrantPlugins
|
||||||
"--hostpath",
|
"--hostpath",
|
||||||
folder[:hostpath]]
|
folder[:hostpath]]
|
||||||
args << "--transient" if folder.has_key?(:transient) && folder[:transient]
|
args << "--transient" if folder.has_key?(:transient) && folder[:transient]
|
||||||
|
|
||||||
|
# Add the shared folder
|
||||||
execute("sharedfolder", "add", @uuid, *args)
|
execute("sharedfolder", "add", @uuid, *args)
|
||||||
|
|
||||||
|
# Enable symlinks on the shared folder
|
||||||
|
execute("setextradata", @uuid, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/#{folder[:name]}", "1")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue