fix builder to set image version and hostname on build
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
{
|
||||
"variables": {
|
||||
"home": "{{env `HOME`}}"
|
||||
},
|
||||
"builders": [{
|
||||
"name": "pwnagotchi",
|
||||
"type": "arm-image",
|
||||
@@ -22,7 +19,8 @@
|
||||
},
|
||||
{
|
||||
"type":"ansible-local",
|
||||
"playbook_file": "pwnagotchi.yml"
|
||||
"playbook_file": "pwnagotchi.yml",
|
||||
"command": "ANSIBLE_FORCE_COLOR=1 PYTHONUNBUFFERED=1 PWN_VERSION={{user `pwn_version`}} PWN_HOSTNAME={{user `pwn_hostname`}} ansible-playbook"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
|
Reference in New Issue
Block a user