Use UNC paths for shared folders on Windows host
This commit is contained in:
parent
f45c5c4536
commit
ea66e22d2e
|
@ -610,6 +610,9 @@ module VagrantPlugins
|
|||
def share_folders(folders)
|
||||
folders.each do |folder|
|
||||
hostpath = folder[:hostpath]
|
||||
if Vagrant::Util::Platform.windows?
|
||||
hostpath = Vagrant::Util::Platform.windows_unc_path(hostpath)
|
||||
end
|
||||
args = ["--name",
|
||||
folder[:name],
|
||||
"--hostpath",
|
||||
|
|
Loading…
Reference in New Issue