Use UNC paths for shared folders on Windows host

This commit is contained in:
Indrek Ardel 2015-11-05 18:56:24 +02:00
parent ea66e22d2e
commit 4a7aa83e58
1 changed files with 0 additions and 5 deletions

View File

@ -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",