Fix for interpolated strings being used for username and passwords, this fix was made in commit 1dd081d but was removed by 1152b4e. This was causing passwords with $ in them to stop working as the dollar sign was getting stripped out

This commit is contained in:
matthewcodes 2015-10-28 16:39:19 +00:00
parent e4f29e61ca
commit 8e7a297fb5
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ module VagrantPlugins
"#{command}; exit $LASTEXITCODE".encode('UTF-16LE', 'UTF-8'))
"powershell -executionpolicy bypass -file \"#{guest_script_path}\" " +
"-username \"#{shell.username}\" -password \"#{shell.password}\" " +
"-username \'#{shell.username}\' -password \'#{shell.password}\' " +
"-encoded_command \"#{wrapped_encoded_command}\""
end