enable symlinks before adding shared folder
This commit is contained in:
parent
f9ce1cc4ca
commit
084d2c06de
|
@ -452,11 +452,11 @@ module VagrantPlugins
|
||||||
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)
|
|
||||||
|
|
||||||
# Enable symlinks on the shared folder
|
# Enable symlinks on the shared folder
|
||||||
execute("setextradata", @uuid, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/#{folder[:name]}", "1")
|
execute("setextradata", @uuid, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/#{folder[:name]}", "1")
|
||||||
|
|
||||||
|
# Add the shared folder
|
||||||
|
execute("sharedfolder", "add", @uuid, *args)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -483,11 +483,11 @@ module VagrantPlugins
|
||||||
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)
|
|
||||||
|
|
||||||
# Enable symlinks on the shared folder
|
# Enable symlinks on the shared folder
|
||||||
execute("setextradata", @uuid, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/#{folder[:name]}", "1")
|
execute("setextradata", @uuid, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/#{folder[:name]}", "1")
|
||||||
|
|
||||||
|
# Add the shared folder
|
||||||
|
execute("sharedfolder", "add", @uuid, *args)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -500,11 +500,11 @@ module VagrantPlugins
|
||||||
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)
|
|
||||||
|
|
||||||
# Enable symlinks on the shared folder
|
# Enable symlinks on the shared folder
|
||||||
execute("setextradata", @uuid, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/#{folder[:name]}", "1")
|
execute("setextradata", @uuid, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/#{folder[:name]}", "1")
|
||||||
|
|
||||||
|
# Add the shared folder
|
||||||
|
execute("sharedfolder", "add", @uuid, *args)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue