mirror of
https://github.com/hashicorp/packer.git
synced 2026-03-24 03:14:40 -04:00
doc: Remove invalid commas for hcl examples
This commit is contained in:
parent
65c2eb0469
commit
0201331a1c
1 changed files with 3 additions and 3 deletions
|
|
@ -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%"]
|
||||
}
|
||||
```
|
||||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue