Fixing Makefile and ansible playbook

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-08-24 11:15:12 +02:00
parent 069c28b77e
commit 6888b0547a
2 changed files with 13 additions and 9 deletions

View File

@ -1,6 +1,6 @@
PACKER_VERSION=1.9.2
PACKER_VERSION=1.9.4
PWN_HOSTNAME=pwnagotchi
PWN_VERSION=torch
PWN_VERSION=2.0.1
all: clean install image
@ -11,7 +11,7 @@ langs:
done
install:
curl https://releases.hashicorp.com/packer/$(PACKER_VERSION)/packer_$(PACKER_VERSION)_linux_arm64.zip -o /tmp/packer.zip
curl https://releases.hashicorp.com/packer/$(PACKER_VERSION)/packer_$(PACKER_VERSION)_linux_amd64.zip -o /tmp/packer.zip
unzip /tmp/packer.zip -d /tmp
sudo mv /tmp/packer /usr/bin/packer
git clone https://github.com/solo-io/packer-plugin-arm-image /tmp/packer-plugin-arm-image