tteckster пре 2 година
родитељ
комит
e392cf9811
100 измењених фајлова са 947 додато и 0 уклоњено
  1. 9 0
      ct/adguard-v4.sh
  2. 10 0
      ct/adguard-v5.sh
  3. 10 0
      ct/alpine-v5.sh
  4. 10 0
      ct/archlinux-v5.sh
  5. 10 0
      ct/autobrr-v5.sh
  6. 9 0
      ct/blocky-v4.sh
  7. 10 0
      ct/blocky-v5.sh
  8. 9 0
      ct/casaos-v4.sh
  9. 10 0
      ct/casaos-v5.sh
  10. 9 0
      ct/changedetection-v4.sh
  11. 10 0
      ct/changedetection-v5.sh
  12. 10 0
      ct/cronicle-v5.sh
  13. 9 0
      ct/daemonsync-v4.sh
  14. 10 0
      ct/daemonsync-v5.sh
  15. 9 0
      ct/dashy-v4.sh
  16. 10 0
      ct/dashy-v5.sh
  17. 9 0
      ct/debian-v4.sh
  18. 10 0
      ct/debian-v5.sh
  19. 9 0
      ct/deconz-v4.sh
  20. 10 0
      ct/deconz-v5.sh
  21. 10 0
      ct/deluge-v5.sh
  22. 9 0
      ct/docker-v4.sh
  23. 10 0
      ct/docker-v5.sh
  24. 9 0
      ct/emby-v4.sh
  25. 10 0
      ct/emby-v5.sh
  26. 9 0
      ct/emqx-v4.sh
  27. 10 0
      ct/emqx-v5.sh
  28. 9 0
      ct/esphome-v4.sh
  29. 10 0
      ct/esphome-v5.sh
  30. 9 0
      ct/grafana-v4.sh
  31. 10 0
      ct/grafana-v5.sh
  32. 9 0
      ct/grocy-v4.sh
  33. 10 0
      ct/grocy-v5.sh
  34. 9 0
      ct/heimdalldashboard-v4.sh
  35. 10 0
      ct/heimdalldashboard-v5.sh
  36. 9 0
      ct/homeassistant-core-v4.sh
  37. 1 0
      ct/homeassistant-core-v5.sh
  38. 9 0
      ct/homeassistant-v4.sh
  39. 10 0
      ct/homeassistant-v5.sh
  40. 9 0
      ct/homebridge-v4.sh
  41. 10 0
      ct/homebridge-v5.sh
  42. 9 0
      ct/homepage-v4.sh
  43. 10 0
      ct/homepage-v5.sh
  44. 10 0
      ct/homer-v5.sh
  45. 9 0
      ct/hyperion-v4.sh
  46. 10 0
      ct/hyperion-v5.sh
  47. 9 0
      ct/influxdb-v4.sh
  48. 10 0
      ct/influxdb-v5.sh
  49. 9 0
      ct/iobroker-v4.sh
  50. 10 0
      ct/iobroker-v5.sh
  51. 9 0
      ct/jellyfin-v4.sh
  52. 10 0
      ct/jellyfin-v5.sh
  53. 10 0
      ct/k0s-v5.sh
  54. 10 0
      ct/kavita-v5.sh
  55. 9 0
      ct/keycloak-v4.sh
  56. 10 0
      ct/keycloak-v5.sh
  57. 10 0
      ct/lidarr-v5.sh
  58. 9 0
      ct/magicmirror-v4.sh
  59. 10 0
      ct/magicmirror-v5.sh
  60. 9 0
      ct/mariadb-v4.sh
  61. 10 0
      ct/mariadb-v5.sh
  62. 9 0
      ct/meshcentral-v4.sh
  63. 10 0
      ct/meshcentral-v5.sh
  64. 9 0
      ct/motioneye-v4.sh
  65. 10 0
      ct/motioneye-v5.sh
  66. 10 0
      ct/mqtt-v5.sh
  67. 9 0
      ct/n8n-v4.sh
  68. 10 0
      ct/n8n-v5.sh
  69. 9 0
      ct/navidrome-v4.sh
  70. 10 0
      ct/navidrome-v5.sh
  71. 9 0
      ct/nextcloudpi-v4.sh
  72. 10 0
      ct/nextcloudpi-v5.sh
  73. 9 0
      ct/nginx-proxy-manager-v4.sh
  74. 10 0
      ct/nginxproxymanager-v5.sh
  75. 9 0
      ct/nocodb-v4.sh
  76. 10 0
      ct/nocodb-v5.sh
  77. 9 0
      ct/node-red-v4.sh
  78. 10 0
      ct/node-red-v5.sh
  79. 9 0
      ct/omada-v4.sh
  80. 10 0
      ct/omada-v5.sh
  81. 9 0
      ct/omv-v4.sh
  82. 10 0
      ct/omv-v5.sh
  83. 9 0
      ct/openhab-v4.sh
  84. 10 0
      ct/openhab-v5.sh
  85. 9 0
      ct/paperless-ngx-v4.sh
  86. 10 0
      ct/paperless-ngx-v5.sh
  87. 9 0
      ct/photoprism-v4.sh
  88. 10 0
      ct/photoprism-v5.sh
  89. 9 0
      ct/pihole-v4.sh
  90. 10 0
      ct/pihole-v5.sh
  91. 9 0
      ct/plex-v4.sh
  92. 10 0
      ct/plex-v5.sh
  93. 9 0
      ct/podman-homeassistant-v4.sh
  94. 10 0
      ct/podman-homeassistant-v5.sh
  95. 10 0
      ct/podman-v5.sh
  96. 9 0
      ct/postgresql-v4.sh
  97. 10 0
      ct/postgresql-v5.sh
  98. 9 0
      ct/prometheus-v4.sh
  99. 10 0
      ct/prometheus-v5.sh
  100. 10 0
      ct/prowlarr-v5.sh

+ 9 - 0
ct/adguard-v4.sh

@@ -69,6 +69,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/adguard-v5.sh

@@ -73,6 +73,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
     NEXTID=$(pvesh get /cluster/nextid)
@@ -350,6 +359,7 @@ exit
 }
 
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 10 - 0
ct/alpine-v5.sh

@@ -73,6 +73,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -329,6 +338,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 10 - 0
ct/archlinux-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -333,6 +342,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 10 - 0
ct/autobrr-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -342,6 +351,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/blocky-v4.sh

@@ -69,6 +69,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/blocky-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -333,6 +342,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/casaos-v4.sh

@@ -69,6 +69,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/casaos-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -342,6 +351,7 @@ exit
 }
 
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$FUSE" == "yes" ]; then 

+ 9 - 0
ct/changedetection-v4.sh

@@ -69,6 +69,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/changedetection-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -332,6 +341,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 10 - 0
ct/cronicle-v5.sh

@@ -73,6 +73,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} Master LXC. Proceed?" 10 58); then
@@ -379,6 +388,7 @@ fi
 }
 
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/daemonsync-v4.sh

@@ -69,6 +69,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/daemonsync-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -333,6 +342,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/dashy-v4.sh

@@ -69,6 +69,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/dashy-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -359,6 +368,7 @@ exit
 }
 
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/debian-v4.sh

@@ -68,6 +68,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/debian-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -328,6 +337,7 @@ msg_ok "Updated Debian LXC"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/deconz-v4.sh

@@ -68,6 +68,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
   echo -e "${DGN}Using Container Type: ${BGN}Privileged${CL}"

+ 10 - 0
ct/deconz-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -333,6 +342,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 10 - 0
ct/deluge-v5.sh

@@ -73,6 +73,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -329,6 +338,7 @@ msg_ok "Updated Debian LXC"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/docker-v4.sh

@@ -68,6 +68,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/docker-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
     NEXTID=$(pvesh get /cluster/nextid)
@@ -339,6 +348,7 @@ msg_ok "Updated ${APP} LXC"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$FUSE" == "yes" ]; then 

+ 9 - 0
ct/emby-v4.sh

@@ -69,6 +69,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
   echo -e "${DGN}Using Container Type: ${BGN}Privileged${CL}"

+ 10 - 0
ct/emby-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -352,6 +361,7 @@ exit
 }
 
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/emqx-v4.sh

@@ -69,6 +69,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/emqx-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -332,6 +341,7 @@ msg_ok "Updated ${APP} LXC"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/esphome-v4.sh

@@ -68,6 +68,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/esphome-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -339,6 +348,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/grafana-v4.sh

@@ -68,6 +68,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/grafana-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -333,6 +342,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/grocy-v4.sh

@@ -68,6 +68,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/grocy-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -332,6 +341,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/heimdalldashboard-v4.sh

@@ -68,6 +68,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/heimdalldashboard-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -412,6 +421,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/homeassistant-core-v4.sh

@@ -69,6 +69,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 1 - 0
ct/homeassistant-core-v5.sh

@@ -409,6 +409,7 @@ fi
 }
 
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/homeassistant-v4.sh

@@ -68,6 +68,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/homeassistant-v5.sh

@@ -73,6 +73,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -407,6 +416,7 @@ fi
 }
 
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$FUSE" == "yes" ]; then 

+ 9 - 0
ct/homebridge-v4.sh

@@ -68,6 +68,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/homebridge-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -333,6 +342,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/homepage-v4.sh

@@ -69,6 +69,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/homepage-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -339,6 +348,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 10 - 0
ct/homer-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -352,6 +361,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/hyperion-v4.sh

@@ -70,6 +70,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Privileged${CL}"
   CT_TYPE="0"

+ 10 - 0
ct/hyperion-v5.sh

@@ -73,6 +73,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -334,6 +343,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/influxdb-v4.sh

@@ -68,6 +68,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/influxdb-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -333,6 +342,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/iobroker-v4.sh

@@ -68,6 +68,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/iobroker-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -333,6 +342,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/jellyfin-v4.sh

@@ -68,6 +68,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 

+ 10 - 0
ct/jellyfin-v5.sh

@@ -73,6 +73,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -342,6 +351,7 @@ msg_ok "Updated ${APP} LXC"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 10 - 0
ct/k0s-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -333,6 +342,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 10 - 0
ct/kavita-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -331,6 +340,7 @@ msg_ok "Updated Debian LXC"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/keycloak-v4.sh

@@ -69,6 +69,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/keycloak-v5.sh

@@ -73,6 +73,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -334,6 +343,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 10 - 0
ct/lidarr-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -328,6 +337,7 @@ msg_ok "Updated Debian LXC"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/magicmirror-v4.sh

@@ -69,6 +69,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/magicmirror-v5.sh

@@ -73,6 +73,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -335,6 +344,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/mariadb-v4.sh

@@ -68,6 +68,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/mariadb-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -333,6 +342,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/meshcentral-v4.sh

@@ -68,6 +68,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/meshcentral-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -333,6 +342,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/motioneye-v4.sh

@@ -68,6 +68,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/motioneye-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -332,6 +341,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 10 - 0
ct/mqtt-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
     NEXTID=$(pvesh get /cluster/nextid)
@@ -333,6 +342,7 @@ exit
 }
 
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/n8n-v4.sh

@@ -69,6 +69,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/n8n-v5.sh

@@ -73,6 +73,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -333,6 +342,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/navidrome-v4.sh

@@ -68,6 +68,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/navidrome-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -344,6 +353,7 @@ exit
 }
 
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/nextcloudpi-v4.sh

@@ -69,6 +69,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Privileged${CL}"
   CT_TYPE="0"

+ 10 - 0
ct/nextcloudpi-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -333,6 +342,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/nginx-proxy-manager-v4.sh

@@ -69,6 +69,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/nginxproxymanager-v5.sh

@@ -73,6 +73,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -442,6 +451,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/nocodb-v4.sh

@@ -68,6 +68,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/nocodb-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -336,6 +345,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/node-red-v4.sh

@@ -68,6 +68,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/node-red-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -369,6 +378,7 @@ fi
 }
 
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/omada-v4.sh

@@ -68,6 +68,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"

+ 10 - 0
ct/omada-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -331,6 +340,7 @@ function install_script() {
   fi
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/omv-v4.sh

@@ -69,6 +69,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Privileged${CL}"
   CT_TYPE="0"

+ 10 - 0
ct/omv-v5.sh

@@ -73,6 +73,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -334,6 +343,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/openhab-v4.sh

@@ -69,6 +69,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/openhab-v5.sh

@@ -73,6 +73,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -334,6 +343,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/paperless-ngx-v4.sh

@@ -69,6 +69,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/paperless-ngx-v5.sh

@@ -73,6 +73,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -401,6 +410,7 @@ fi
 }
 
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/photoprism-v4.sh

@@ -68,6 +68,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/photoprism-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -354,6 +363,7 @@ msg_ok "Update Successful"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/pihole-v4.sh

@@ -68,6 +68,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Privileged${CL}"
   CT_TYPE="0"

+ 10 - 0
ct/pihole-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -333,6 +342,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/plex-v4.sh

@@ -68,6 +68,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 

+ 10 - 0
ct/plex-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -352,6 +361,7 @@ exit
 fi
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/podman-homeassistant-v4.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Privileged${CL}"
   CT_TYPE="0"

+ 10 - 0
ct/podman-homeassistant-v5.sh

@@ -76,6 +76,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -383,6 +392,7 @@ fi
 }
 
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 10 - 0
ct/podman-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -333,6 +342,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/postgresql-v4.sh

@@ -69,6 +69,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/postgresql-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -333,6 +342,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 9 - 0
ct/prometheus-v4.sh

@@ -68,6 +68,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 function default_settings() {
   echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
   CT_TYPE="1"

+ 10 - 0
ct/prometheus-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -333,6 +342,7 @@ msg_ok "Update Successfull"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

+ 10 - 0
ct/prowlarr-v5.sh

@@ -72,6 +72,15 @@ function PVE_CHECK() {
     exit
   fi
 }
+function ARCH_CHECK() {
+  ARCH=$(dpkg --print-architecture)
+  if [[ "$ARCH" != "amd64" ]]; then
+    echo -e "\n ❌  This script will not work with PiMox! \n"
+    echo -e "Exiting..."
+    sleep 2
+    exit
+  fi
+}
 
 if command -v pveversion >/dev/null 2>&1; then
   if (whiptail --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
@@ -328,6 +337,7 @@ msg_ok "Updated Debian LXC"
 exit
 }
 clear
+ARCH_CHECK
 if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
 if [ "$VERB" == "yes" ]; then set -x; fi
 if [ "$CT_TYPE" == "1" ]; then

Неке датотеке нису приказане због велике количине промена