providers/virtualbox: remove windows UNC path [GH-5933]

This commit is contained in:
Mitchell Hashimoto 2015-07-13 08:38:41 -07:00
parent 9e2ab3b4c1
commit b118ab10c8
2 changed files with 5 additions and 3 deletions

View File

@ -497,9 +497,6 @@ 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",

View File

@ -497,9 +497,14 @@ 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",