Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions website/content/docs/provisioners/shell-local.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,8 @@ tempfile_extension

```hcl
provisioner "shell-local" {
environment_vars = ["SHELLLOCALTEST=ShellTest2"],
tempfile_extension = ".cmd",
environment_vars = ["SHELLLOCALTEST=ShellTest2"]
tempfile_extension = ".cmd"
inline = [echo "%SHELLLOCALTEST%"]
}
```
Expand Down Expand Up @@ -377,7 +377,7 @@ customizations: use_linux_pathing and execute_command

```hcl
provisioner "shell-local" {
environment_vars = ["SHELLLOCALTEST=ShellTest3"],
environment_vars = ["SHELLLOCALTEST=ShellTest3"]
execute_command = ["bash", "-c", "{{.Vars}} {{.Script}}"]
use_linux_pathing = true
script = "./scripts/example_bash.sh"
Expand Down