fix typo in execute_command on shell-local provisioner and postprocessor docs
This commit is contained in:
parent
7e375db693
commit
4dbd11110b
|
@ -60,7 +60,7 @@ Optional parameters:
|
||||||
as well, which are covered in the section below.
|
as well, which are covered in the section below.
|
||||||
|
|
||||||
- `execute_command` (array of strings) - The command used to execute the script. By
|
- `execute_command` (array of strings) - The command used to execute the script. By
|
||||||
default this is `["/bin/sh", "-c", "{{.Vars}}, "{{.Script}}"]`
|
default this is `["/bin/sh", "-c", "{{.Vars}}", "{{.Script}}"]`
|
||||||
on unix and `["cmd", "/c", "{{.Vars}}", "{{.Script}}"]` on windows.
|
on unix and `["cmd", "/c", "{{.Vars}}", "{{.Script}}"]` on windows.
|
||||||
This is treated as a [template engine](/docs/templates/engine.html).
|
This is treated as a [template engine](/docs/templates/engine.html).
|
||||||
There are two available variables: `Script`, which is the path to the script
|
There are two available variables: `Script`, which is the path to the script
|
||||||
|
|
|
@ -75,7 +75,7 @@ Optional parameters:
|
||||||
`"environment_vars": "WINRMPASS={{.WinRMPassword}}"`
|
`"environment_vars": "WINRMPASS={{.WinRMPassword}}"`
|
||||||
|
|
||||||
- `execute_command` (array of strings) - The command used to execute the script.
|
- `execute_command` (array of strings) - The command used to execute the script.
|
||||||
By default this is `["/bin/sh", "-c", "{{.Vars}}, "{{.Script}}"]`
|
By default this is `["/bin/sh", "-c", "{{.Vars}}", "{{.Script}}"]`
|
||||||
on unix and `["cmd", "/c", "{{.Vars}}", "{{.Script}}"]` on windows.
|
on unix and `["cmd", "/c", "{{.Vars}}", "{{.Script}}"]` on windows.
|
||||||
This is treated as a [template engine](/docs/templates/engine.html).
|
This is treated as a [template engine](/docs/templates/engine.html).
|
||||||
There are two available variables: `Script`, which is the path to the script
|
There are two available variables: `Script`, which is the path to the script
|
||||||
|
|
Loading…
Reference in New Issue