Install python via inline provisioner
This commit is contained in:
parent
659e20e012
commit
b2fb98923c
2 changed files with 2 additions and 6 deletions
|
|
@ -12,8 +12,8 @@
|
|||
"provisioners": [
|
||||
{
|
||||
"type": "shell",
|
||||
"script": "./setup.sh"
|
||||
},
|
||||
"command": "apt-get update && apt-get -y install python"
|
||||
},
|
||||
{
|
||||
"type": "ansible",
|
||||
"playbook_file": "ansible/playbook.yml",
|
||||
|
|
|
|||
4
setup.sh
4
setup.sh
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/sh
|
||||
cat /proc/sys/kernel/random/uuid > /.build_uuid
|
||||
apt-get update
|
||||
apt-get -y install python
|
||||
Loading…
Add table
Add a link
Reference in a new issue