document execution_policy for powershell

This commit is contained in:
Adrien Delorme 2019-05-23 17:39:02 +02:00
parent 478f80af83
commit 68a3be9f90
1 changed files with 6 additions and 0 deletions

View File

@ -102,6 +102,12 @@ The example below is fully functional.
"elevated_password": "",
```
- `execution_policy` - To run ps scripts on windows packer defaults this to
"bypass" and wraps the command to run. Setting this to "none" will prevent
wrapping, allowing to see exit codes on docker for windows. Possible values
are "bypass", "allsigned", "default", "remotesigned", "restricted",
"undefined", "unrestricted", "none".
- `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