Fix osx guest smb mount

This commit is contained in:
sophia 2020-08-25 15:33:19 -05:00
parent 11aeafea5c
commit 3afd646a27

View File

@ -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(