mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-26 09:44:01 -04:00
document execution_policy for powershell
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user