Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-10-31 16:19:45 +01:00
parent 6621b297f7
commit 3942d4d816

View File

@ -17,6 +17,10 @@ variable "pwn_version" {
type = string
}
# a build block invokes sources and runs provisioning steps on them. The
# documentation for build blocks can be found here:
# https://www.packer.io/docs/from-1.5/blocks/build
build {
source "arm" "rpi-pwnagotchi" {
name = "Raspberry Pi Pwnagotchi"
file_checksum_url = "https://downloads.raspberrypi.org/raspios_lite_arm64/images/raspios_lite_arm64-2023-05-03/2023-05-03-raspios-bullseye-arm64-lite.img.xz.sha256"
@ -70,10 +74,6 @@ source "arm" "opi-pwnagotchi" {
}
}
# a build block invokes sources and runs provisioning steps on them. The
# documentation for build blocks can be found here:
# https://www.packer.io/docs/from-1.5/blocks/build
build {
provisioner "file" {
destination = "/usr/bin/"
sources = [