document execution_policy for powershell

pull/7678/head
Adrien Delorme 7 years ago
parent 478f80af83
commit 68a3be9f90

@ -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

Loading…
Cancel
Save