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:
parent
e4f29e61ca
commit
8e7a297fb5
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue