The default path for uploading the PS script now incorporates a UUID

This commit is contained in:
DanHam 2018-04-18 12:20:52 +01:00
parent 8bbc9be713
commit f17523401e
No known key found for this signature in database
GPG Key ID: 58E79AEDD6AA987E
1 changed files with 8 additions and 3 deletions

View File

@ -117,9 +117,14 @@ Optional parameters:
"elevated_password": "{{.WinRMPassword}}",
```
- `remote_path` (string) - The path where the script will be uploaded to in
the machine. This defaults to "c:/Windows/Temp/script.ps1". This value must
be a writable location and any parent directories must already exist.
- `remote_path` (string) - The path where the PowerShell script will be
uploaded to within the target build machine. This defaults to
`C:/Windows/Temp/script-UUID.ps1` where UUID is replaced with a
dynamically generated string that uniquely identifies the script.
This setting allows users to override the default upload location. The
value must be a writable location and any parent directories must
already exist.
- `remote_env_var_path` (string) - Environment variables required within
the remote environment are uploaded within a PowerShell script and then