feat(deploy): provision Debian 13 Proxmox containers (#6)
Add architecture-filtered template selection, safe CT reuse, TUN passthrough, a service-user installer, updates, and a Traefik example. Verify official Node 22 binaries with SHA-256 checksums and document deployment and credential setup. Cover mixed amd64/arm64 template selection with five bash regression checks.
This commit is contained in:
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# Input: pveam available output. Filter architecture BEFORE sorting versions.
|
||||
pick_template() {
|
||||
local arch=$1
|
||||
[[ $arch =~ ^[a-z0-9]+$ ]] || return 1
|
||||
awk -v arch="$arch" '$NF ~ ("^debian-13-standard_.*_" arch "\\.tar\\.(zst|xz|gz)$") { print $NF }' |
|
||||
sort -V | tail -n 1
|
||||
}
|
||||
Reference in New Issue
Block a user