add arch check (#981)
This commit is contained in:
parent
263c59944a
commit
e392cf9811
138 changed files with 1312 additions and 0 deletions
ct
adguard-v4.shadguard-v5.shalpine-v5.sharchlinux-v5.shautobrr-v5.shblocky-v4.shblocky-v5.shcasaos-v4.shcasaos-v5.shchangedetection-v4.shchangedetection-v5.shcronicle-v5.shdaemonsync-v4.shdaemonsync-v5.shdashy-v4.shdashy-v5.shdebian-v4.shdebian-v5.shdeconz-v4.shdeconz-v5.shdeluge-v5.shdocker-v4.shdocker-v5.shemby-v4.shemby-v5.shemqx-v4.shemqx-v5.shesphome-v4.shesphome-v5.shgrafana-v4.shgrafana-v5.shgrocy-v4.shgrocy-v5.shheimdalldashboard-v4.shheimdalldashboard-v5.shhomeassistant-core-v4.shhomeassistant-core-v5.shhomeassistant-v4.shhomeassistant-v5.shhomebridge-v4.shhomebridge-v5.shhomepage-v4.shhomepage-v5.shhomer-v5.shhyperion-v4.shhyperion-v5.shinfluxdb-v4.shinfluxdb-v5.shiobroker-v4.shiobroker-v5.shjellyfin-v4.shjellyfin-v5.shk0s-v5.shkavita-v5.shkeycloak-v4.shkeycloak-v5.shlidarr-v5.shmagicmirror-v4.shmagicmirror-v5.shmariadb-v4.shmariadb-v5.shmeshcentral-v4.shmeshcentral-v5.shmotioneye-v4.shmotioneye-v5.shmqtt-v5.shn8n-v4.shn8n-v5.shnavidrome-v4.shnavidrome-v5.shnextcloudpi-v4.shnextcloudpi-v5.shnginx-proxy-manager-v4.shnginxproxymanager-v5.shnocodb-v4.shnocodb-v5.shnode-red-v4.shnode-red-v5.shomada-v4.shomada-v5.shomv-v4.shomv-v5.shopenhab-v4.shopenhab-v5.shpaperless-ngx-v4.shpaperless-ngx-v5.shphotoprism-v4.shphotoprism-v5.shpihole-v4.shpihole-v5.shplex-v4.shplex-v5.shpodman-homeassistant-v4.shpodman-homeassistant-v5.shpodman-v5.shpostgresql-v4.shpostgresql-v5.shprometheus-v4.shprometheus-v5.shprowlarr-v5.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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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}"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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}"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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}"
|
||||
|
||||
|
|
|
@ -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
ct/k0s-v5.sh
10
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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
ct/n8n-v5.sh
10
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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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}"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
ct/omv-v5.sh
10
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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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}"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue