attempt to port docker-vm to support arm64

This commit is contained in:
Sam Heinz
2026-07-06 20:06:18 +10:00
parent 417b0641a0
commit e08cf790d7
2 changed files with 37 additions and 11 deletions
+11 -4
View File
@@ -620,12 +620,19 @@ pve_check() {
}
arch_check() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${INFO}${YWB}This script will not work with PiMox! \n"
echo -e "\n ${YWB}Visit https://github.com/asylumexp/Proxmox for ARM64 support. \n"
local arch
arch="$(dpkg --print-architecture)"
if [[ "$arch" != "amd64" && "$arch" != "arm64" ]]; then
msg_error "This script requires amd64 or arm64."
echo -e "Exiting..."
sleep 2
exit
exit 106
fi
if [[ "$arch" == "arm64" && "${var_arm64:-}" != "yes" ]]; then
echo -e "\n ${INFO}${YWB}This script does not yet support ARM64! \n"
echo -e "Exiting..."
sleep 2
exit 106
fi
}