Use UNC paths for shared folders on Windows host
This commit is contained in:
parent
ea66e22d2e
commit
4a7aa83e58
|
@ -611,14 +611,9 @@ module VagrantPlugins
|
||||||
def share_folders(folders)
|
def share_folders(folders)
|
||||||
folders.each do |folder|
|
folders.each do |folder|
|
||||||
hostpath = folder[:hostpath]
|
hostpath = folder[:hostpath]
|
||||||
|
|
||||||
=begin
|
|
||||||
# Removed for GH-5933 until further research.
|
|
||||||
if Vagrant::Util::Platform.windows?
|
if Vagrant::Util::Platform.windows?
|
||||||
hostpath = Vagrant::Util::Platform.windows_unc_path(hostpath)
|
hostpath = Vagrant::Util::Platform.windows_unc_path(hostpath)
|
||||||
end
|
end
|
||||||
=end
|
|
||||||
|
|
||||||
args = ["--name",
|
args = ["--name",
|
||||||
folder[:name],
|
folder[:name],
|
||||||
"--hostpath",
|
"--hostpath",
|
||||||
|
|
Loading…
Reference in New Issue