From 7f9a4b67d24649a52b8bde55af5243b41c5aabdf Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Thu, 8 Dec 2016 13:23:17 -0800 Subject: [PATCH] Fix virtualbox shared folders path --- plugins/guests/windows/cap/mount_shared_folder.rb | 2 +- .../plugins/guests/windows/cap/mount_shared_folder_test.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/guests/windows/cap/mount_shared_folder.rb b/plugins/guests/windows/cap/mount_shared_folder.rb index 4329025f6..2790509d5 100644 --- a/plugins/guests/windows/cap/mount_shared_folder.rb +++ b/plugins/guests/windows/cap/mount_shared_folder.rb @@ -5,7 +5,7 @@ module VagrantPlugins module Cap class MountSharedFolder def self.mount_virtualbox_shared_folder(machine, name, guestpath, options) - mount_shared_folder(machine, name, guestpath, "\\\\vboxsrv\\") + mount_shared_folder(machine, name, guestpath, "\\\\vboxsvr\\") end def self.mount_vmware_shared_folder(machine, name, guestpath, options) diff --git a/test/unit/plugins/guests/windows/cap/mount_shared_folder_test.rb b/test/unit/plugins/guests/windows/cap/mount_shared_folder_test.rb index 851c71da7..17bf13aaa 100644 --- a/test/unit/plugins/guests/windows/cap/mount_shared_folder_test.rb +++ b/test/unit/plugins/guests/windows/cap/mount_shared_folder_test.rb @@ -24,7 +24,7 @@ describe "VagrantPlugins::GuestWindows::Cap::MountSharedFolder" do /.+scripts\/mount_volume.ps1/, options: { mount_point: "guestpath", share_name: "name", - vm_provider_unc_path: "\\\\vboxsrv\\name", + vm_provider_unc_path: "\\\\vboxsvr\\name", }) described_class.mount_virtualbox_shared_folder(machine, 'name', 'guestpath', {}) end @@ -34,7 +34,7 @@ describe "VagrantPlugins::GuestWindows::Cap::MountSharedFolder" do kind_of(String), options: { mount_point: kind_of(String), share_name: "invalid-windows_sharename", - vm_provider_unc_path: "\\\\vboxsrv\\invalid-windows_sharename", + vm_provider_unc_path: "\\\\vboxsvr\\invalid-windows_sharename", }) described_class.mount_virtualbox_shared_folder(machine, "/invalid-windows/sharename", "guestpath", {}) end