mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-08-10 14:49:13 +02:00
[arm64] port scripts named A-F
also adds patching of arm64 templates for if it doesnt include /etc/network/interfaces adds fallback to get_arch_value for alpine adds neon check for mongodb for arm (avx equivalent) missing: alpine-teamspeak-server apprise-api archivebox audiobookshelf authentik autocaliweb baserow byparr checkmate checkmk degoog domain-locker elementsynapse flaresolverr flatnotes freepbx frigate
This commit is contained in:
+5
-4
@@ -370,11 +370,12 @@ arch_check() {
|
||||
get_arch_value() {
|
||||
local amd64_val="${1:-amd64}"
|
||||
local arm64_val="${2:-arm64}"
|
||||
case "$PCT_ARCH" in
|
||||
amd64) echo "$amd64_val" ;;
|
||||
arm64) echo "$arm64_val" ;;
|
||||
local arch="${PCT_ARCH:-$(dpkg --print-architecture 2>/dev/null || uname -m)}"
|
||||
case "$arch" in
|
||||
amd64 | x86_64) echo "$amd64_val" ;;
|
||||
arm64 | aarch64) echo "$arm64_val" ;;
|
||||
*)
|
||||
msg_error "Unsupported architecture: $PCT_ARCH"
|
||||
msg_error "Unsupported architecture: $arch"
|
||||
return 106
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user