From ea66e22d2ed36501087eaa9b4bfe7bc4d8255421 Mon Sep 17 00:00:00 2001 From: Indrek Ardel Date: Thu, 5 Nov 2015 18:55:34 +0200 Subject: [PATCH] Use UNC paths for shared folders on Windows host --- plugins/providers/virtualbox/driver/version_4_3.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/providers/virtualbox/driver/version_4_3.rb b/plugins/providers/virtualbox/driver/version_4_3.rb index f895739d3..b77b2a4f9 100644 --- a/plugins/providers/virtualbox/driver/version_4_3.rb +++ b/plugins/providers/virtualbox/driver/version_4_3.rb @@ -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",