fix(pve): use pveam for Debian ARM64 templates - #5
Open
I-am-PUID-0 wants to merge 1 commit into
Open
Conversation
Route Debian ARM64 container creation through Proxmox's official, architecture-filtered pveam catalog instead of the missing community-scripts/debian-arm64-lxc release source. Preserve the Jenkins custom-template fallback for other ARM64 distributions. Apply exact architecture filtering to local, online, fallback, previous-version, and interactive template selection paths. Add a regression test covering PVE and non-PVE routing and run it from the split-file verification workflow.
Try this branchThe engine and the scripts resolve independently, so a production script can COMMUNITY_SCRIPTS_CORE_URL=https://raw.githubusercontent.com/I-am-PUID-0/core/fix/debian-arm64-pveam-template \
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/ct/debian.sh)"Swap This PR touches Run a script from a fork as wellcurl -fsSL https://raw.githubusercontent.com/I-am-PUID-0/core/fix/debian-arm64-pveam-template/tools/run.sh |
bash -s -- https://raw.githubusercontent.com/YOU/ProxmoxVED/your-branch ct/debian.sh \
https://raw.githubusercontent.com/I-am-PUID-0/core/fix/debian-arm64-pveam-templateNote that Useful flags while testing
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✍️ Description
While validating the new DUMB (Distributed Unlimited Media Bridge) LXC script on a native ARM64 Proxmox VE host, container creation failed before the application installer was reached.
The split Core engine currently treats every ARM64 PVE container as requiring a custom template. For Debian, that path queries the
community-scripts/debian-arm64-lxclatest-release API endpoint, which returns404 Not Found, and pipes the response throughjqbefore Core has ensured thatjqis available. Consequently, any new ProxmoxVED script requesting a Debian container on ARM64 can fail during template acquisition; the problem is not specific to DUMB.The existing production
ProxmoxVE/ct/debian.shscript can still work because it uses the legacy monolithicmisc/build.funcimplementation rather than this split Core template path. Its success therefore does not validate the path used by new ProxmoxVED scripts.Proxmox VE 9.2 now exposes official Debian ARM64 standard templates through
pveam. A live ARM64 catalog contained both AMD64 and ARM64 Debian entries, so routing Debian throughpveamalso requires exact architecture filtering throughout template discovery. Without that filtering, local, online, fallback, or interactive selection could choose a template for the wrong architecture and fail later during container creation.This change:
pveamcatalog.community-scripts/debian-arm64-lxcrelease source.AI assistance: OpenAI Codex (GPT-5.6-Sol, high reasoning) assisted with implementation and testing. I reviewed the resulting changes and take responsibility for them.
Testing
Automated validation:
bash tests/arm64-template-routing.sh.funcfilesgit diff --checkLive Proxmox VE validation:
pveamtemplate.debian-13-standard_13.6-1_arm64.tar.zstfrom an initially empty template cache.noblecustom-template path.✅ Prerequisites (X in brackets)
🤖 AI Assistance (X in brackets)
🛠️ Type of Change (X in brackets)
README,docs/,CONTRIBUTING.md, or other docs.