misc scripts: add support for arm64

This commit is contained in:
Sam Heinz
2026-03-07 15:44:44 +10:00
parent 5c2cf61455
commit 087f817bf6
4 changed files with 339 additions and 222 deletions
+4 -3
View File
@@ -344,9 +344,10 @@ pve_check() {
# - Provides link to ARM64-compatible scripts
# ------------------------------------------------------------------------------
arch_check() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
msg_error "This script will not work with PiMox (ARM architecture detected)."
msg_warn "Visit https://github.com/asylumexp/Proxmox for ARM64 support."
local arch
arch="$(dpkg --print-architecture)"
if [[ "$arch" != "amd64" && "$arch" != "arm64" ]]; then
msg_error "This script requires amd64 or arm64 (detected: $arch)."
sleep 2
exit 106
fi