diff --git a/website/source/docs/post-processors/shell-local.html.md b/website/source/docs/post-processors/shell-local.html.md index ac8056407..2d30f63cd 100644 --- a/website/source/docs/post-processors/shell-local.html.md +++ b/website/source/docs/post-processors/shell-local.html.md @@ -60,7 +60,7 @@ Optional parameters: as well, which are covered in the section below. - `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. This is treated as a [template engine](/docs/templates/engine.html). There are two available variables: `Script`, which is the path to the script diff --git a/website/source/docs/provisioners/shell-local.html.md b/website/source/docs/provisioners/shell-local.html.md index 16719f239..5932ed69d 100644 --- a/website/source/docs/provisioners/shell-local.html.md +++ b/website/source/docs/provisioners/shell-local.html.md @@ -75,7 +75,7 @@ Optional parameters: `"environment_vars": "WINRMPASS={{.WinRMPassword}}"` - `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. This is treated as a [template engine](/docs/templates/engine.html). There are two available variables: `Script`, which is the path to the script