projects
/
osm
/
devops.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
17f525f
)
Merge "Setup sudo nopassword for initial packer build"
author
Mike Marchetti
<mmarchetti@sandvine.com>
Wed, 3 Oct 2018 20:20:53 +0000
(22:20 +0200)
committer
Gerrit Code Review
<root@osm.etsi.org>
Wed, 3 Oct 2018 20:20:53 +0000
(22:20 +0200)
packer/ubuntu1604-juju.json
patch
|
blob
|
history
diff --git
a/packer/ubuntu1604-juju.json
b/packer/ubuntu1604-juju.json
index
5141745
..
36b2509
100644
(file)
--- a/
packer/ubuntu1604-juju.json
+++ b/
packer/ubuntu1604-juju.json
@@
-2,12
+2,12
@@
"provisioners": [
{
"type": "shell",
- "script": "scripts/install_packages.sh"
+ "execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E bash '{{.Path}}'",
+ "script": "scripts/setup.sh"
},
{
"type": "shell",
- "execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E bash '{{.Path}}'",
- "script": "scripts/setup.sh"
+ "script": "scripts/install_packages.sh"
},
{
"type": "file",