Merge pull request #6493 from Ingramz/master
Re-enable UNC paths for shared folders on Windows hosts
This commit is contained in:
commit
d425193e42
|
@ -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",
|
||||
|
|
|
@ -611,14 +611,9 @@ module VagrantPlugins
|
|||
def share_folders(folders)
|
||||
folders.each do |folder|
|
||||
hostpath = folder[:hostpath]
|
||||
|
||||
=begin
|
||||
# Removed for GH-5933 until further research.
|
||||
if Vagrant::Util::Platform.windows?
|
||||
hostpath = Vagrant::Util::Platform.windows_unc_path(hostpath)
|
||||
end
|
||||
=end
|
||||
|
||||
args = ["--name",
|
||||
folder[:name],
|
||||
"--hostpath",
|
||||
|
|
Loading…
Reference in New Issue