Merge pull request #8099 from chrisroberts/windows/shared-folder-path
Fix virtualbox shared folders path
This commit is contained in:
commit
f1de9821e1
|
@ -6,7 +6,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)
|
||||
|
|
|
@ -29,7 +29,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
|
||||
|
@ -39,7 +39,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
|
||||
|
|
Loading…
Reference in New Issue