From 3e6dcc6e452d6381180228612920ee96173d84f6 Mon Sep 17 00:00:00 2001 From: Koen Date: Sat, 14 Jun 2025 12:41:40 +0000 Subject: [PATCH] Edit Debian VM script to use Cloud-init --- vm/debian-vm.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vm/debian-vm.sh b/vm/debian-vm.sh index d99fe39e4..4756bce31 100644 --- a/vm/debian-vm.sh +++ b/vm/debian-vm.sh @@ -439,7 +439,7 @@ fi msg_ok "Using ${CL}${BL}$STORAGE${CL} ${GN}for Storage Location." msg_ok "Virtual Machine ID is ${CL}${BL}$VMID${CL}." msg_info "Retrieving the URL for the Debian 12 Qcow2 Disk Image" -URL=https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-nocloud-amd64.qcow2 +URL=https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2 sleep 2 msg_ok "${CL}${BL}${URL}${CL}" curl -f#SL -o "$(basename "$URL")" "$URL" @@ -477,6 +477,7 @@ qm importdisk $VMID ${FILE} $STORAGE ${DISK_IMPORT:-} 1>&/dev/null qm set $VMID \ -efidisk0 ${DISK0_REF}${FORMAT} \ -scsi0 ${DISK1_REF},${DISK_CACHE}${THIN}size=${DISK_SIZE} \ + -scsi1 ${STORAGE}:cloudinit \ -boot order=scsi0 \ -serial0 socket >/dev/null DESCRIPTION=$(