packer-cn/provisioner/powershell
DanHam 4e7feea184 Allow users to specify the location that the env vars file is uploaded to
Previously the location the file was uploaded to was set internally and
used ${env:SYSTEMROOT}/Temp as the destination folder.
By default, in order to inject the required environment variables, the file
is 'dot sourced' by the 'execute_command' using the {{ .Vars }} variable.
Unfortunately the inclusion of the dollar in the path caused issues for
users connecting over ssh as the (typically bash) shell running the execute
command would try and interpret the dollar sign.
The change allows users to specify the location the file is uploaded to,
thereby allowing the user to specify a custom 'execute_command' that
escapes any dollar signs that could be present in the path.
If not set the upload path now defaults to using C:/Windows/Temp as the
upload folder.
2018-04-24 11:09:55 +01:00
..
elevated.go Move append of portion of command used to send elevated PS output to file 2017-09-26 11:07:26 +01:00
provisioner.go Allow users to specify the location that the env vars file is uploaded to 2018-04-24 11:09:55 +01:00
provisioner_test.go spelling: function 2018-03-13 07:52:02 +00:00