From 3afd646a272802b86ff4ec8ce76c6590cfa7e134 Mon Sep 17 00:00:00 2001 From: sophia Date: Tue, 25 Aug 2020 15:33:19 -0500 Subject: [PATCH] Fix osx guest smb mount --- plugins/guests/darwin/cap/mount_smb_shared_folder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/guests/darwin/cap/mount_smb_shared_folder.rb b/plugins/guests/darwin/cap/mount_smb_shared_folder.rb index d2bab0806..818aec2ed 100644 --- a/plugins/guests/darwin/cap/mount_smb_shared_folder.rb +++ b/plugins/guests/darwin/cap/mount_smb_shared_folder.rb @@ -26,7 +26,7 @@ module VagrantPlugins mount_options = options[:mount_options]; mount_command = "mount -t smbfs " + (mount_options ? "-o '#{mount_options.join(",")}' " : "") + - "'//#{options[:smb_username]}:#{smb_password}@#{options[:smb_host]}/#{name}' " + + "//#{options[:smb_username]}:#{smb_password}@#{options[:smb_host]}/#{name} " + "#{expanded_guest_path}" retryable(on: Vagrant::Errors::DarwinMountFailed, tries: 10, sleep: 2) do machine.communicate.execute(