Skip to content

Commit

Permalink
BENTO-96 fix execute_command for debian to include env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathew Hartley committed Nov 12, 2013
1 parent cd28366 commit 9e90c39
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packer/debian-6.0.8-i386.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
],
"provisioners": [
{
"type": "shell",
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -E -S bash '{{.Path}}'",
"scripts": [
"scripts/debian/update.sh",
"scripts/common/sshd.sh",
Expand All @@ -96,7 +96,7 @@
"scripts/debian/cleanup.sh",
"scripts/common/minimize.sh"
],
"execute_command": "echo 'vagrant'|sudo -S sh '{{.Path}}'"
"type": "shell"
}
]
}
4 changes: 2 additions & 2 deletions packer/debian-7.2.0-amd64.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
],
"provisioners": [
{
"type": "shell",
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -E -S bash '{{.Path}}'",
"scripts": [
"scripts/debian/update.sh",
"scripts/common/sshd.sh",
Expand All @@ -96,7 +96,7 @@
"scripts/debian/cleanup.sh",
"scripts/common/minimize.sh"
],
"execute_command": "echo 'vagrant'|sudo -S sh '{{.Path}}'"
"type": "shell"
}
]
}
4 changes: 2 additions & 2 deletions packer/debian-7.2.0-i386.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
],
"provisioners": [
{
"type": "shell",
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -E -S bash '{{.Path}}'",
"scripts": [
"scripts/debian/update.sh",
"scripts/common/sshd.sh",
Expand All @@ -96,7 +96,7 @@
"scripts/debian/cleanup.sh",
"scripts/common/minimize.sh"
],
"execute_command": "echo 'vagrant'|sudo -S sh '{{.Path}}'"
"type": "shell"
}
]
}

0 comments on commit 9e90c39

Please sign in to comment.