From 1e181833aca199371822c02047ed37e047414c34 Mon Sep 17 00:00:00 2001 From: Stefan Bethke Date: Sun, 26 May 2024 14:01:30 +0200 Subject: [PATCH] Add a label/tag --- build-proxmox-template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build-proxmox-template b/build-proxmox-template index d5747fb..1534c7f 100755 --- a/build-proxmox-template +++ b/build-proxmox-template @@ -27,6 +27,7 @@ cleanup() { } +wget -4 https://git.hamburg.ccc.de/CCCHH/infrastructure-authorized-keys/raw/branch/trunk/authorized_keys -O authorized_keys wget https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-generic-amd64.tar.xz -O debian-12-generic-amd64.tar.xz wget https://cloud.debian.org/images/cloud/bookworm/latest/SHA512SUMS -O SHA512SUMS sha512sum --ignore-missing -c SHA512SUMS @@ -60,6 +61,6 @@ qm set ${VMID} --agent 1,fstrim_cloned_disks=1 qm set ${VMID} --ciuser chaos qm set ${VMID} --sshkeys ./authorized_keys qm set ${VMID} --ipconfig0 ip=dhcp -qm set ${VMID} --name ${NAME} +qm set ${VMID} --name ${NAME} --tags debian12 qm cloudinit update ${VMID} qm template ${VMID}