Files
pwnagotchi/builder/pwnagotchi.json
scifijunkie 8fab7ba1a6 Just a little update
Added .zip in .gitignore

Removed Personal Nexus server
2026-02-28 02:37:25 +00:00

51 lines
1.5 KiB
JSON

{
"builders": [
{
"name": "pwnagotchi",
"type": "arm-image",
"iso_url": "https://downloads.raspberrypi.org/raspios_oldstable_lite_armhf/images/raspios_oldstable_lite_armhf-2023-05-03/2023-05-03-raspios-buster-armhf-lite.img.xz",
"iso_checksum": "3d210e61b057de4de90eadb46e28837585a9b24247c221998f5bead04f88624c",
"target_image_size": 9368709120,
"qemu_args": ["-cpu", "arm1176"]
}
],
"provisioners": [
{
"type": "shell",
"inline": [
"mv /etc/ld.so.preload /etc/ld.so.preload.DISABLED",
"uname -a",
"dpkg-architecture",
"mkdir -p /usr/local/src/pwnagotchi"
]
},
{
"type": "file",
"sources": [
"../dist/pwnagotchi-{{user `pwn_version`}}.tar.gz"
],
"destination": "/usr/local/src/pwnagotchi/"
},
{
"type": "shell",
"inline": [
"apt-get -y --allow-releaseinfo-change update",
"apt-get install -y --no-install-recommends ansible"
"export MAKEFLAGS=-j$(nproc-1)"
]
},
{
"type": "ansible-local",
"playbook_file": "pwnagotchi.yml",
"extra_arguments": [ "--extra-vars \"ansible_python_interpreter=/usr/bin/python3\"" ],
"command": "ANSIBLE_FORCE_COLOR=1 PYTHONUNBUFFERED=1 PWN_VERSION={{user `pwn_version`}} PWN_HOSTNAME={{user `pwn_hostname`}} ansible-playbook"
},
{
"type": "shell",
"inline": [
"mv /etc/ld.so.preload.DISABLED /etc/ld.so.preload"
]
}
]
}