From 8b5869fdc527bb6960a955d0abafdc8ef994cab5 Mon Sep 17 00:00:00 2001 From: Jonas Stendahl Date: Tue, 6 May 2014 15:47:44 +0200 Subject: [PATCH] Don't wrap the escaped password in single quotes. --- plugins/guests/linux/cap/mount_smb_shared_folder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/guests/linux/cap/mount_smb_shared_folder.rb b/plugins/guests/linux/cap/mount_smb_shared_folder.rb index ae6d50d04..d50aae686 100644 --- a/plugins/guests/linux/cap/mount_smb_shared_folder.rb +++ b/plugins/guests/linux/cap/mount_smb_shared_folder.rb @@ -30,7 +30,7 @@ module VagrantPlugins options[:mount_options] ||= [] options[:mount_options] << "sec=ntlm" 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 mount_options = "-o uid=#{mount_uid},gid=#{mount_gid}"