Merge pull request #476 from dadav/fix/provisioning
Change the ordering of the provisioners of packer
This commit is contained in:
commit
a8705c1d3c
@ -19,17 +19,6 @@
|
|||||||
"apt-get install -y ansible"
|
"apt-get install -y ansible"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"type": "ansible-local",
|
|
||||||
"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",
|
|
||||||
"inline": [
|
|
||||||
"sed -i 's/^#\\(.+\\)/\\1/g' /etc/ld.so.preload"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"source": "data/usr/bin/bettercap-launcher",
|
"source": "data/usr/bin/bettercap-launcher",
|
||||||
@ -69,6 +58,17 @@
|
|||||||
"type": "file",
|
"type": "file",
|
||||||
"source": "data/etc/systemd/system/bettercap.service",
|
"source": "data/etc/systemd/system/bettercap.service",
|
||||||
"destination": "/etc/systemd/system/bettercap.service"
|
"destination": "/etc/systemd/system/bettercap.service"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "ansible-local",
|
||||||
|
"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",
|
||||||
|
"inline": [
|
||||||
|
"sed -i 's/^#\\(.+\\)/\\1/g' /etc/ld.so.preload"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user