changing windows/virtualbox shared path names to UNC format to allow > 256 characters
This commit is contained in:
parent
76f79d1bd8
commit
7d17574a76
|
@ -499,7 +499,7 @@ module VagrantPlugins
|
||||||
args = ["--name",
|
args = ["--name",
|
||||||
folder[:name],
|
folder[:name],
|
||||||
"--hostpath",
|
"--hostpath",
|
||||||
folder[:hostpath]]
|
Vagrant::Util::Platform.windows? ? ("//?/" + File.expand_path(folder[:hostpath])).gsub("/","\\") : folder[:hostpath]]
|
||||||
args << "--transient" if folder.key?(:transient) && folder[:transient]
|
args << "--transient" if folder.key?(:transient) && folder[:transient]
|
||||||
|
|
||||||
# Enable symlinks on the shared folder
|
# Enable symlinks on the shared folder
|
||||||
|
|
Loading…
Reference in New Issue