ci: nested PVE guests land in the ci pool with VMIDs 5081-5092

The runner token is pool-scoped (PVEVMAdmin on /pool/ci only), so VM.Allocate
succeeds only with pool_id set; VMIDs move into the 5000-5999 CI range.
This commit is contained in:
Clint Branham
2026-08-23 09:05:48 -05:00
parent c7eff18899
commit d3f05187dd
5 changed files with 15 additions and 6 deletions
@@ -75,8 +75,8 @@ pve_iso() {
pve_vmid() {
case "$1" in
9a) echo "${PVE9A_VMID:-99091}" ;; 9b) echo "${PVE9B_VMID:-99092}" ;;
8a) echo "${PVE8A_VMID:-99081}" ;; 8b) echo "${PVE8B_VMID:-99082}" ;;
9a) echo "${PVE9A_VMID:-5091}" ;; 9b) echo "${PVE9B_VMID:-5092}" ;;
8a) echo "${PVE8A_VMID:-5081}" ;; 8b) echo "${PVE8B_VMID:-5082}" ;;
*) echo "ERROR: unknown node '$1'" >&2; exit 1 ;;
esac
}