Mounting as regular user instead of root

This commit is contained in:
Matija K 2015-05-24 15:11:34 +02:00
parent b387f0e15d
commit 09eec472f6
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ module VagrantPlugins
"'//#{options[:smb_username]}:#{smb_password}@#{options[:smb_host]}/#{name}' " +
"#{expanded_guest_path}"
retryable(on: Vagrant::Errors::DarwinMountFailed, tries: 10, sleep: 5) do
machine.communicate.sudo(
machine.communicate.execute(
mount_command,
error_class: Vagrant::Errors::DarwinMountFailed)
end