Don't wrap the escaped password in single quotes.

This commit is contained in:
Jonas Stendahl 2014-05-06 15:47:44 +02:00
parent 537eb3da6e
commit 8b5869fdc5
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ module VagrantPlugins
options[:mount_options] ||= [] options[:mount_options] ||= []
options[:mount_options] << "sec=ntlm" options[:mount_options] << "sec=ntlm"
options[:mount_options] << "username=#{options[:smb_username]}" options[:mount_options] << "username=#{options[:smb_username]}"
options[:mount_options] << "pass='#{smb_password}'" options[:mount_options] << "pass=#{smb_password}"
# First mount command uses getent to get the group # First mount command uses getent to get the group
mount_options = "-o uid=#{mount_uid},gid=#{mount_gid}" mount_options = "-o uid=#{mount_uid},gid=#{mount_gid}"