add arch check (#981)

pull/982/head
tteckster 2023-01-25 08:14:42 -05:00 committed by GitHub
parent 263c59944a
commit e392cf9811
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
138 changed files with 1312 additions and 0 deletions

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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}"

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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}"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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}"

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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}"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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}"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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