image-builder smoke test: free VMID 9901, key file per node

ID 9001 is now debian-13-template and the snippet ends with qm destroy $ID.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-30 08:36:03 +02:00
co-authored by Claude Opus 5.5
parent b88f721e3b
commit a9f5879f09
+6 -1
View File
@@ -71,8 +71,13 @@ Notes carried into CAPMOX (phase 1): same ACL set, `vlan: 4` on the network devi
The template has no usable login (`builder` is locked) — access only via cloud-init (NoCloud,
which the PVE Cloud-Init drive provides):
Run it on the node that holds the template. VMIDs are cluster-wide, so pick a free `ID`: 9001 is
now `debian-13-template`, and the last line destroys `$ID`. The key file must exist on that node
(`scp ~/.ssh/id_ed25519.pub root@<node-ip>:/root/jan.pub`).
```bash
TPL=<template vmid>; ID=9001
TPL=<template vmid>; ID=9901
qm status $ID 2>/dev/null && echo "VM $ID exists, pick another ID" # must print nothing
qm clone $TPL $ID --name smoke-k8s --full 1 --storage local-lvm
qm set $ID --ide2 local-lvm:cloudinit
qm set $ID --ciuser jan --sshkeys /root/jan.pub --ipconfig0 ip=dhcp