forked from extern/Proxmox
update pve & arch checks (#1044)
* update ARCH_CHECK & PVE_CHECK * header_info * PVE 7 required
This commit is contained in:
parent
06831d6128
commit
0ddf5e2101
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
___ __ __
|
||||
/ | ____/ /___ ___v5______ __________/ /
|
||||
/ /| |/ __ / __ / / / / __ / ___/ __ /
|
||||
@ -16,7 +18,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Adguard"
|
||||
@ -65,18 +66,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Stopping AdguardHome"
|
||||
systemctl stop AdGuardHome
|
||||
@ -364,8 +363,9 @@ msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
___ v5 __ _
|
||||
/ | / /___ (_)___ ___
|
||||
/ /| | / / __ \/ / __ \/ _ \
|
||||
@ -16,7 +18,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Alpine"
|
||||
@ -65,18 +66,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -335,7 +335,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apk update &>/dev/null
|
||||
@ -343,8 +342,9 @@ apk upgrade &>/dev/null
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
___ __ __ _
|
||||
/ | __________/ /_ v5 / / (_)___ __ ___ __
|
||||
/ /| | / ___/ ___/ __ \ / / / / __ \/ / / / |/_/
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Arch Linux"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
pacman-key --init
|
||||
@ -347,8 +346,9 @@ pacman -Sy archlinux-keyring && pacman -Su
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
___ __ __ __ ______
|
||||
____ ___ ______/ (_)___v5/ /_ ____ ____ / /_______/ /_ ___ / / __/
|
||||
/ __ `/ / / / __ / / __ \/ __ \/ __ \/ __ \/ //_/ ___/ __ \/ _ \/ / /_
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="audiobookshelf"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -334,7 +334,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating $APP LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -342,8 +341,9 @@ apt-get -y upgrade &>/dev/null
|
||||
msg_ok "Updated $APP LXC"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
___ __ __
|
||||
/ | __ __/ /_____ / /_v5__________
|
||||
/ /| |/ / / / __/ __ \/ __ \/ ___/ ___/
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Autobrr"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -337,7 +337,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Stopping ${APP} LXC"
|
||||
systemctl stop autobrr.service
|
||||
@ -356,8 +355,9 @@ msg_ok "Started ${APP} LXC"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
____ __ __
|
||||
/ __ )/ /___v5_____/ /____ __
|
||||
/ __ / / __ \/ ___/ //_/ / / /
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
/____/
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Blocky"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
______ ____ _____
|
||||
/ ____/___ __v5______ _/ __ \/ ___/
|
||||
/ / / __ `/ ___/ __ `/ / / /\__ \
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="CasaOS"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -346,7 +346,6 @@ function install_script() {
|
||||
fi
|
||||
}
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -356,8 +355,9 @@ msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
________ ____ __ __ _
|
||||
/ ____/ /_v5____ _____ ____ ____ / __ \___ / /____ _____/ /_(_)___ ____
|
||||
/ / / __ \/ __ `/ __ \/ __ `/ _ \ / / / / _ \/ __/ _ \/ ___/ __/ / __ \/ __ \
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
/____/
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Change Detection"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
pip3 install changedetection.io --upgrade &>/dev/null
|
||||
@ -346,8 +345,9 @@ msg_ok "Updated ${APP} LXC"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
______ _ __
|
||||
/ ____/________v5____ (_)____/ /__
|
||||
/ / / ___/ __ \/ __ \/ / ___/ / _ \
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Cronicle"
|
||||
@ -65,18 +66,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -341,7 +341,6 @@ UPD=$(whiptail --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spaceb
|
||||
"2" "Install ${APP} Worker" OFF \
|
||||
3>&1 1>&2 2>&3)
|
||||
|
||||
clear
|
||||
header_info
|
||||
if [ "$UPD" == "1" ]; then
|
||||
if [[ ! -d /opt/cronicle ]]; then
|
||||
@ -393,8 +392,9 @@ exit
|
||||
fi
|
||||
}
|
||||
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
____ _____
|
||||
/ __ \____ ____ ____ ___ ____ ____ / ___/__v5______ _____
|
||||
/ / / / __ / _ \/ __ __ \/ __ \/ __ \ \__ \/ / / / __ \/ ___/
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
/____/
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Daemon Sync"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
____ __
|
||||
/ __ \____ ______/ /_ __ __
|
||||
/ / / / __ / ___/ __ \/ / / /
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
v5 /____/
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Dashy"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Stopping ${APP}"
|
||||
systemctl stop dashy
|
||||
@ -373,8 +372,9 @@ msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
____ __ _
|
||||
/ __ \___v5/ /_ (_)___ _____
|
||||
/ / / / _ \/ __ \/ / __ `/ __ \
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Debian"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -334,7 +334,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating $APP LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -342,8 +341,9 @@ apt-get -y upgrade &>/dev/null
|
||||
msg_ok "Updated $APP LXC"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
__ __________ _ _______
|
||||
____/ /v5 / ____/ __ \/ | / /__ /
|
||||
/ __ / _ \/ / / / / / |/ / / /
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="deCONZ"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -339,7 +339,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -348,8 +347,9 @@ msg_ok "Updated ${APP} LXC"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
____ __
|
||||
/ __ \___ / /_v5______ ____
|
||||
/ / / / _ \/ / / / / __ `/ _ \
|
||||
@ -16,7 +18,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Deluge"
|
||||
@ -65,18 +66,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -335,7 +335,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating $APP LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -343,8 +342,9 @@ apt-get -y upgrade &>/dev/null
|
||||
msg_ok "Updated $APP LXC"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
____
|
||||
/ __ \___ _ ____ ______v5____
|
||||
/ / / / _ \ | / / / / / __ `/ __ \
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Devuan"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -334,7 +334,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating $APP LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -342,8 +341,9 @@ apt-get -y upgrade &>/dev/null
|
||||
msg_ok "Updated $APP LXC"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
____ __
|
||||
/ __ \____ _____/ /_v5__ _____
|
||||
/ / / / __ \/ ___/ //_/ _ \/ ___/
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Docker"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -345,7 +345,6 @@ function install_script() {
|
||||
fi
|
||||
}
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -353,8 +352,9 @@ apt-get -y upgrade &>/dev/null
|
||||
msg_ok "Updated ${APP} LXC"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
______ __
|
||||
/ ____/___ v5_ / /_ __ __
|
||||
/ __/ / __ __ \/ __ \/ / / /
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
/____/
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Emby"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -346,7 +346,6 @@ function install_script() {
|
||||
fi
|
||||
}
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
LATEST=$(curl -sL https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
|
||||
msg_info "Stopping ${APP}"
|
||||
@ -366,8 +365,9 @@ msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
________ _______v5 _ __
|
||||
/ ____/ |/ / __ \ | |/ /
|
||||
/ __/ / /|_/ / / / / | /
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="EMQX"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -346,8 +345,9 @@ apt-get -y upgrade &>/dev/null
|
||||
msg_ok "Updated ${APP} LXC"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
___________ ____ __ __
|
||||
/ ____/ ___// __ \/ / / /___v5____ ___ ___
|
||||
/ __/ \__ \/ /_/ / /_/ / __ \/ __ `__ \/ _ \
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="ESPHome"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -337,7 +337,6 @@ function install_script() {
|
||||
fi
|
||||
}
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Stopping ESPHome"
|
||||
systemctl stop esphomeDashboard
|
||||
@ -353,8 +352,9 @@ msg_ok "Started ESPHome"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
______ ____
|
||||
/ ____/________ _/ __/___ _____v5____ _
|
||||
/ / __/ ___/ __ / /_/ __ / __ \/ __ /
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Grafana"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
____ __________ _______ __
|
||||
/ __ / ___/ __ \/ ___/ / / /
|
||||
/ /_/ / / / /_/ / /__/ /_/ /
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="grocy"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP}"
|
||||
bash /var/www/html/update.sh
|
||||
@ -346,8 +345,9 @@ msg_ok "Updated ${APP}"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
_ _ _ _ ___ _ _ _
|
||||
/\ /\___(_)_ __ ___ __| | __ _| | | / \__ _ ___| |__ | |__ ___ __ _ _ __ __| |
|
||||
/ /_/ / _ \ | '_ ` _ \ / _` |/ _` | | | / /\ / _` / __| '_ \| '_ \ / _ \ / _` | '__/ _` |
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Heimdall Dashboard"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Stopping ${APP}"
|
||||
systemctl disable heimdall.service &>/dev/null
|
||||
@ -426,8 +425,9 @@ msg_ok "Started ${APP}"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
_ _ _ _ ___
|
||||
/\ /\___ _ __ ___ ___ /_\ ___ ___(_)___| |_ __ _ _ __ | |_ / __\___v5_ __ ___
|
||||
/ /_/ / _ \| '_ ` _ \ / _ \ //_\\/ __/ __| / __| __/ _` | '_ \| __| / / / _ \| '__/ _ \
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Home Assistant-Core"
|
||||
@ -66,23 +67,22 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
msg_error "This script requires Proxmox Virtual Environment 7.0 or greater"
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --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)
|
||||
@ -348,7 +348,6 @@ function update_script() {
|
||||
"2" "Install HACS" OFF \
|
||||
"3" "Install FileBrowser" OFF \
|
||||
3>&1 1>&2 2>&3)
|
||||
clear
|
||||
header_info
|
||||
if [ "$UPD" == "1" ]; then
|
||||
if (whiptail --defaultno --title "SELECT BRANCH" --yesno "Use Beta Branch?" 10 58); then
|
||||
@ -421,8 +420,9 @@ exit
|
||||
fi
|
||||
}
|
||||
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
__ __ ___ _ __ __
|
||||
/ / / /___v5____ ___ ___ / | __________(_)____/ /_____ _____ / /_
|
||||
/ /_/ / __ \/ __ __ \/ _ \ / /| | / ___/ ___/ / ___/ __/ __ / __ \/ __/
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Home Assistant"
|
||||
@ -65,18 +66,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -354,7 +354,6 @@ function update_script() {
|
||||
"3" "Install HACS" OFF \
|
||||
"4" "Install FileBrowser" OFF \
|
||||
3>&1 1>&2 2>&3)
|
||||
clear
|
||||
header_info
|
||||
if [ "$UPD" == "1" ]; then
|
||||
msg_info "Updating All Containers"
|
||||
@ -421,8 +420,9 @@ exit
|
||||
fi
|
||||
}
|
||||
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
__ ______ __ _____________ ____ ________ ____________
|
||||
/ / / / __ \/ |/ / ____/ __ )/ __ \/ _/ __ \/ ____/ ____/
|
||||
/ /_/ / / / / /|_/ / __/ / __ / /_/ // // / / / / __/ __/
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Homebridge"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
__ __
|
||||
/ / / /___ ____ ___ ___ ____ ____ _____ ____
|
||||
/ /_/ / __ \/ __ `__ \/ _ \/ __ \/ __ `/ __ `/ _ \
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
/_/ v5 /____/
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Homepage"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP}"
|
||||
if ! command -v pnpm >/dev/null 2>&1; then
|
||||
@ -353,8 +352,9 @@ systemctl start homepage
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
__ __
|
||||
/ / / /___ ____ ___v5___ _____
|
||||
/ /_/ / __ \/ __ `__ \/ _ \/ ___/
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Homer"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -334,7 +334,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Stopping ${APP}"
|
||||
systemctl stop homer
|
||||
@ -366,8 +365,9 @@ msg_ok "Started ${APP}"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,6 +6,7 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
clear
|
||||
cat <<"EOF"
|
||||
__ __ _
|
||||
/ / / /_ ______v5___ _____(_)___ ____
|
||||
@ -16,7 +17,6 @@ cat <<"EOF"
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Hyperion"
|
||||
@ -65,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -339,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -348,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
____ ______ ____ ____
|
||||
/ _/_v5 / __/ /_ ___ __/ __ \/ __ )
|
||||
/ // __ \/ /_/ / / / / |/_/ / / / __ |
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="InfluxDB"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
_ ____ __
|
||||
(_)___ / __ )_________ / /_____ _____
|
||||
/ / __ \/ __ / ___/ __ \/ //_/ _ \/ ___/
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="ioBroker"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
__ ____ _____
|
||||
/ /__ / / /_v5__/ __(_)___
|
||||
__ / / _ \/ / / / / / /_/ / __ \
|
||||
@ -16,7 +18,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Jellyfin"
|
||||
@ -65,18 +66,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -348,7 +348,6 @@ function install_script() {
|
||||
fi
|
||||
}
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -356,8 +355,9 @@ apt-get -y upgrade &>/dev/null
|
||||
msg_ok "Updated ${APP} LXC"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
28
ct/k0s-v5.sh
28
ct/k0s-v5.sh
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
__ ____ __ __ __ __
|
||||
/ /__/ __ \_____ / //_/_ __/ /_ ___v5_________ ___ / /____ _____
|
||||
/ //_/ / / / ___/ / ,< / / / / __ \/ _ \/ ___/ __ \/ _ \/ __/ _ \/ ___/
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="k0s"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
__ __ _ __
|
||||
/ //_/___ __ v5__(_) /_____ _
|
||||
/ ,< / __ `/ | / / / __/ __ `/
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Kavita"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -337,7 +337,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating $APP LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -345,8 +344,9 @@ apt-get -y upgrade &>/dev/null
|
||||
msg_ok "Updated $APP LXC"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
__ __ __ __
|
||||
/ //_/__v5__ _______/ /___ ____ _/ /__
|
||||
/ ,< / _ \/ / / / ___/ / __ \/ __ / //_/
|
||||
@ -16,7 +18,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Keycloak"
|
||||
@ -65,18 +66,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -339,7 +339,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -348,8 +347,9 @@ msg_ok "Updated ${APP} LXC"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
__ _ __
|
||||
/ / (_)___/ /___v5__________
|
||||
/ / / / __ / __ `/ ___/ ___/
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Lidarr"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -334,7 +334,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating $APP LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -342,8 +341,9 @@ apt-get -y upgrade &>/dev/null
|
||||
msg_ok "Updated $APP LXC"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
__ ___ _ __ ____
|
||||
/ |/ /___ _____ _(_)____/ |/ (_)_____________ _____
|
||||
/ /|_/ / __ / __ / / ___/ /|_/ / / ___/ ___/ __ \/ ___/
|
||||
@ -16,7 +18,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="MagicMirror"
|
||||
@ -65,18 +66,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -339,7 +339,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
cd /opt/magicmirror
|
||||
@ -349,8 +348,9 @@ msg_ok "Updated ${APP} LXC"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
__ ___ _ ____ ____
|
||||
/ |/ /___ ______(_)___ _/ __ \/ __ )
|
||||
/ /|_/ / __ / ___/ / __ / / / / __ |
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="MariaDB"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
__ ___ __ ______ __ __
|
||||
/ |/ /__ _____/ /_ / ____/__ ____ / /__________ _/ /
|
||||
/ /|_/ / _ \/ ___/ __ \/ / / _ \/ __ \/ __/ ___/ __ / /
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="MeshCentral"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
__ ___ __ _
|
||||
/ |/ /___ / /_(_)___ ____v5___ __ _____
|
||||
/ /|_/ / __ \/ __/ / __ \/ __ \/ _ \/ / / / _ \
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
/____/
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Motioneye"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
pip install motioneye --upgrade &>/dev/null
|
||||
@ -346,8 +345,9 @@ msg_ok "Updated ${APP} LXC"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,6 +6,7 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
clear
|
||||
cat <<"EOF"
|
||||
__ ___ ____ _ ____________
|
||||
/ |/ /___v5_____/ __ \__ __(_)_ __/_ __/___
|
||||
@ -15,7 +16,6 @@ cat <<"EOF"
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="MQTT"
|
||||
@ -64,18 +64,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -337,7 +336,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -347,8 +345,9 @@ msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
28
ct/n8n-v5.sh
28
ct/n8n-v5.sh
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
___
|
||||
/ _ \
|
||||
_ __ | (_) |_v5_
|
||||
@ -16,7 +18,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="n8n"
|
||||
@ -65,18 +66,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -339,7 +339,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
npm update -g n8n &>/dev/null
|
||||
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
_ __ _ __
|
||||
/ | / /___ __ v5__(_)___/ /________ ____ ___ ___
|
||||
/ |/ / __ / | / / / __ / ___/ __ \/ __ __ \/ _ \
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Navidrome"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
RELEASE=$(curl -s https://api.github.com/repos/navidrome/navidrome/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||
msg_info "Stopping ${APP}"
|
||||
@ -358,8 +357,9 @@ msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
_ __ __ ________ ______ _
|
||||
/ | / /__ _ __/ /_/ ____/ /___ __v5______/ / __ \(_)
|
||||
/ |/ / _ \| |/_/ __/ / / / __ \/ / / / __ / /_/ / /
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="NextCloudPi"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
_ __ _ ____ __ ___
|
||||
/ | / /___ _(_)___ _ __ / __ \_________ _ ____ __ / |/ /___ _____ ____ _____ ____ _____
|
||||
/ |/ / __ / / __ \| |/_/ / /_/ / ___/ __ \| |/_/ / / / / /|_/ / __ / __ \/ __ / __ / _ \/ ___/
|
||||
@ -16,7 +18,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Nginx Proxy Manager"
|
||||
@ -65,18 +66,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -339,7 +339,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
RELEASE=$(curl -s https://api.github.com/repos/NginxProxyManager/nginx-proxy-manager/releases/latest |
|
||||
grep "tag_name" |
|
||||
@ -456,8 +455,9 @@ msg_ok "Cleaned"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
_ __ ____ ____
|
||||
/ | / /___ ____v5___ / __ \/ __ )
|
||||
/ |/ / __ \/ ___/ __ \/ / / / __ |
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="NocoDB"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP}"
|
||||
cd /opt/nocodb
|
||||
@ -350,8 +349,9 @@ msg_ok "Update Successfull"
|
||||
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
_ __ __ ____ __
|
||||
/ | / /___ ____/ /__ v5 / __ \___ ____/ /
|
||||
/ |/ / __ \/ __ / _ \ / /_/ / _ \/ __ /
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Node-Red"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -341,7 +341,6 @@ UPD=$(whiptail --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spaceb
|
||||
"1" "Update ${APP}" ON \
|
||||
"2" "Install Themes" OFF \
|
||||
3>&1 1>&2 2>&3)
|
||||
clear
|
||||
header_info
|
||||
if [ "$UPD" == "1" ]; then
|
||||
msg_info "Stopping ${APP}"
|
||||
@ -367,7 +366,6 @@ THEME=$(whiptail --title "NODE-RED THEMES" --radiolist --cancel-button Exit-Scri
|
||||
"solarized-dark" "" OFF \
|
||||
"solarized-light" "" OFF \
|
||||
3>&1 1>&2 2>&3)
|
||||
clear
|
||||
header_info
|
||||
msg_info "Installing ${THEME} Theme"
|
||||
cd /root/.node-red
|
||||
@ -383,8 +381,9 @@ exit
|
||||
fi
|
||||
}
|
||||
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
____ __
|
||||
/ __ \____ ___v5____ _____/ /___ _
|
||||
/ / / / __ __ \/ __ / __ / __ /
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Omada"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -345,8 +345,9 @@ function install_script() {
|
||||
advanced_settings
|
||||
fi
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
28
ct/omv-v5.sh
28
ct/omv-v5.sh
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
____ __ ___ ___ _ __ ____
|
||||
/ __ \____v5___ ____ / |/ /__ ____/ (_)___ | | / /___ ___ __/ / /_
|
||||
/ / / / __ \/ _ \/ __ \/ /|_/ / _ \/ __ / / __ `/ | / / __ `/ / / / / __/
|
||||
@ -16,7 +18,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="OMV"
|
||||
@ -65,18 +66,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -339,7 +339,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -348,8 +347,9 @@ msg_ok "Updated ${APP} LXC"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
__ _____ ____
|
||||
____v5____ ___ ____ / / / / | / __ )
|
||||
/ __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __ |
|
||||
@ -16,7 +18,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="openHAB"
|
||||
@ -65,18 +66,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -339,7 +339,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -348,8 +347,9 @@ msg_ok "Updated ${APP} LXC"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
____ __
|
||||
/ __ \____ _____ ___ _____/ /__v5__________ ____ ____ __ __
|
||||
/ /_/ / __ `/ __ \/ _ \/ ___/ / _ \/ ___/ ___/___/ __ \/ __ `/ |/_/
|
||||
@ -16,7 +18,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Paperless-ngx"
|
||||
@ -65,18 +66,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -345,7 +345,6 @@ UPD=$(whiptail --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spaceb
|
||||
"1" "Update Paperless-ngx to $RELEASE" ON \
|
||||
"2" "Paperless-ngx Credentials" OFF \
|
||||
3>&1 1>&2 2>&3)
|
||||
clear
|
||||
header_info
|
||||
if [ "$UPD" == "1" ]; then
|
||||
msg_info "Stopping Paperless-ngx"
|
||||
@ -415,8 +414,9 @@ exit
|
||||
fi
|
||||
}
|
||||
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
____ __ ______ __________ ____ ____ _________ __ ___
|
||||
/ __ \/ / / / __ \/_ __/ __ \/ __ \/ __ \/ _/ ___// |/ /
|
||||
/ /_/ / /_/ / / / / / / / / / / /_/ / /_/ // / \__ \/ /|_/ /
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="PhotoPrism"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -337,7 +337,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
echo -e "\n ⚠️ Ensure you set 2vCPU & 3072MiB RAM MIMIMUM!!! \n"
|
||||
msg_info "Stopping PhotoPrism"
|
||||
@ -368,8 +367,9 @@ msg_ok "Started PhotoPrism"
|
||||
msg_ok "Update Successful"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
____ ____ __ ______ __ ______
|
||||
/ __ \/ _/ / / / / __ \/ / / ____/
|
||||
/ /_/ // /___/ /_/ / / / / / / __/
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Pihole"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
____ __ __ ___ ___ _____
|
||||
/ __ \/ /__ _ __ / |/ /__v5____/ (_)___ _ / ___/___ ______ _____ _____
|
||||
/ /_/ / / _ \| |/_/ / /|_/ / _ \/ __ / / __ `/ \__ \/ _ \/ ___/ | / / _ \/ ___/
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Plex"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -352,7 +352,6 @@ UPD=$(whiptail --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spaceb
|
||||
"2" "Run plexupdate" OFF \
|
||||
3>&1 1>&2 2>&3)
|
||||
|
||||
clear
|
||||
header_info
|
||||
if [ "$UPD" == "1" ]; then
|
||||
msg_info "Updating ${APP} LXC"
|
||||
@ -366,8 +365,9 @@ bash -c "$(wget -qO - https://raw.githubusercontent.com/mrworf/plexupdate/master
|
||||
exit
|
||||
fi
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
____ __
|
||||
/ __ \____ ____/ /___ ___ ____ _____
|
||||
/ /_/ / __ \/ __ / __ __ \/ __ / __ \
|
||||
@ -19,7 +21,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Podman-Home Assistant"
|
||||
@ -68,18 +69,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -347,7 +347,6 @@ function update_script() {
|
||||
"2" "Install HACS" OFF \
|
||||
"3" "Install FileBrowser" OFF \
|
||||
3>&1 1>&2 2>&3)
|
||||
clear
|
||||
header_info
|
||||
if [ "$UPD" == "1" ]; then
|
||||
msg_info "Updating ${APP} LXC"
|
||||
@ -398,8 +397,9 @@ exit
|
||||
fi
|
||||
}
|
||||
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
____ __
|
||||
/ __ \____v5____/ /___ ___ ____ _____
|
||||
/ /_/ / __ \/ __ / __ `__ \/ __ `/ __ \
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Podman"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
____ __ _____ ____ __
|
||||
/ __ \____ _____/ /_____ _________ / ___// __ \ / /
|
||||
/ /_/ / __ \/ ___/ __/ __ / ___/ _ \\__ \/ / / / / /
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
/____/
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="PostgreSQL"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
____ __ __
|
||||
/ __ \_________ ____ ___ ___ / /_/ /_ ___ __ _______
|
||||
/ /_/ / ___/ __ \/ __ __ \/ _ \/ __/ __ \/ _ \/ / / / ___/
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Prometheus"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -347,8 +346,9 @@ msg_ok "Updated ${APP} LXC"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
____ __
|
||||
/ __ \_________ _ __/ /___v5__________
|
||||
/ /_/ / ___/ __ \ | /| / / / __ `/ ___/ ___/
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Prowlarr"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -334,7 +334,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating $APP LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -342,8 +341,9 @@ apt-get -y upgrade &>/dev/null
|
||||
msg_ok "Updated $APP LXC"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
____ __
|
||||
/ __ \____ _____/ /___v5__________
|
||||
/ /_/ / __ `/ __ / __ `/ ___/ ___/
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Radarr"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -334,7 +334,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating $APP LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -342,8 +341,9 @@ apt-get -y upgrade &>/dev/null
|
||||
msg_ok "Updated $APP LXC"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
____ __
|
||||
/ __ \___ ____ _____/ /___v5__________
|
||||
/ /_/ / _ \/ __ `/ __ / __ `/ ___/ ___/
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Readarr"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -334,7 +334,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating $APP LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -342,8 +341,9 @@ apt-get -y upgrade &>/dev/null
|
||||
msg_ok "Updated $APP LXC"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
____ __ __ _
|
||||
/ __ \____ _____/ /____ __ / / (_)___v5__ ___ __
|
||||
/ /_/ / __ \/ ___/ //_/ / / / / / / / __ \/ / / / |/_/
|
||||
@ -16,7 +18,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Rocky Linux"
|
||||
@ -65,18 +66,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -339,7 +339,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
pacman-key --init
|
||||
@ -348,8 +347,9 @@ pacman -Sy archlinux-keyring && pacman -Su
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
_____ ___ ____ __ __
|
||||
/ ___// | / __ )____v5____ / /_ ____/ /
|
||||
\__ \/ /| | / __ / __ \/_ / / __ \/ __ /
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="SABnzbd"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -334,7 +334,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating $APP LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -342,8 +341,9 @@ apt-get -y upgrade &>/dev/null
|
||||
msg_ok "Updated $APP LXC"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
_____ __ __
|
||||
/ ___/____________v5______ / /____ ____/ /
|
||||
\__ \/ ___/ ___/ / / / __ \/ __/ _ \/ __ /
|
||||
@ -16,7 +18,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Scrypted"
|
||||
@ -65,18 +66,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -339,7 +339,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -348,8 +347,9 @@ msg_ok "Updated ${APP} LXC"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
_____ __ _ __ _
|
||||
/ ___// /_ (_)___v5____ / /_ (_)
|
||||
\__ \/ __ \/ / __ \/ __ \/ __ \/ /
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Shinobi"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -346,7 +346,6 @@ function install_script() {
|
||||
fi
|
||||
}
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating Shinobi LXC"
|
||||
cd /opt/Shinobi
|
||||
@ -357,8 +356,9 @@ pm2 restart cron
|
||||
msg_ok "Updated Shinobi LXC"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
_____
|
||||
/ ___/____ ____ ____v5__________
|
||||
\__ \/ __ \/ __ \/ __ `/ ___/ ___/
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Sonarr"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -334,7 +334,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating $APP LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -342,8 +341,9 @@ apt-get -y upgrade &>/dev/null
|
||||
msg_ok "Updated $APP LXC"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
_____ __ __ _
|
||||
/ ___/__ ______v5_____/ /_/ /_ (_)___ ____ _
|
||||
\__ \/ / / / __ \/ ___/ __/ __ \/ / __ \/ __ `/
|
||||
@ -16,7 +18,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Syncthing"
|
||||
@ -65,18 +66,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -339,7 +339,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -348,8 +347,9 @@ msg_ok "Updated ${APP} LXC"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
______ __
|
||||
/_ __/___/ /___v5__________
|
||||
/ / / __ / __ `/ ___/ ___/
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Tdarr"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -334,7 +334,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating $APP LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -342,8 +341,9 @@ apt-get -y upgrade &>/dev/null
|
||||
msg_ok "Updated $APP LXC"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
______ __ _ __ _ ____ _ _______
|
||||
/_ __/__ _____/ /_ ____ (_) /_(_)_ ______ ___ v5 / __ \/ | / / ___/
|
||||
/ / / _ \/ ___/ __ \/ __ \/ / __/ / / / / __ __ \ / / / / |/ /\__ \
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Technitium DNS"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
dotnetDir="/opt/dotnet"
|
||||
@ -409,8 +408,9 @@ fi
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
______ _ _
|
||||
/_ __/________ _____v5_________ ___ (_)_________(_)___ ____
|
||||
/ / / ___/ __ `/ __ \/ ___/ __ `__ \/ / ___/ ___/ / __ \/ __ \
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Transmission"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -334,7 +334,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -342,8 +341,9 @@ apt-get -y upgrade &>/dev/null
|
||||
msg_ok "Updated ${APP} LXC"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
______ _ ___
|
||||
/_ __/_v5_(_) (_)_ ______ ___
|
||||
/ / / ___/ / / / / / / __ `__ \
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Trilium"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
RELEASE=$(curl -s https://api.github.com/repos/zadam/trilium/releases/latest |
|
||||
grep "tag_name" |
|
||||
@ -366,8 +365,9 @@ msg_ok "Started ${APP}"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
__ ____ __
|
||||
/ / / / /_v5__ ______ / /___ __
|
||||
/ / / / __ \/ / / / __ \/ __/ / / /
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Ubuntu"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -342,7 +342,6 @@ function install_script() {
|
||||
fi
|
||||
}
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -350,8 +349,9 @@ apt-get -y upgrade &>/dev/null
|
||||
msg_ok "Updated ${APP} LXC"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
__ __ __ __
|
||||
/ / / /___ ___v5/ /_ ________ / /
|
||||
/ / / / __ `__ \/ __ \/ ___/ _ \/ /
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Umbrel"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -346,7 +346,6 @@ function install_script() {
|
||||
fi
|
||||
}
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -354,8 +353,9 @@ apt-get -y upgrade &>/dev/null
|
||||
msg_ok "Updated ${APP} LXC"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
__ __ _ _____
|
||||
/ / / /_v5 (_) __(_)
|
||||
/ / / / __ \/ / /_/ /
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Unifi"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP}"
|
||||
wget -qL https://get.glennr.nl/unifi/update/unifi-update.sh
|
||||
@ -347,8 +346,9 @@ msg_ok "Updated ${APP}"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
__ __ __ _ __ __
|
||||
/ / / /___ / /_(_)___ ___ ___ v5 / //_/_ ______ ___ ____ _
|
||||
/ / / / __ \/ __/ / __ __ \/ _ \ / ,< / / / / __ __ \/ __ /
|
||||
@ -16,7 +18,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Uptime Kuma"
|
||||
@ -65,18 +66,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -339,7 +339,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
LATEST=$(curl -sL https://api.github.com/repos/louislam/uptime-kuma/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
|
||||
msg_info "Stopping ${APP}"
|
||||
@ -364,8 +363,9 @@ msg_ok "Started ${APP}"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
_ __ ____ _ __ __
|
||||
| | / /___ ___v5__/ / /| | / /___ __________/ /__ ____
|
||||
| | / / __ `/ / / / / __/ | /| / / __ `/ ___/ __ / _ \/ __ \
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Vaultwarden"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -351,7 +351,6 @@ UPD=$(whiptail --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spaceb
|
||||
"3" "Show Admin Token" OFF \
|
||||
3>&1 1>&2 2>&3)
|
||||
|
||||
clear
|
||||
header_info
|
||||
if [ "$UPD" == "1" ]; then
|
||||
echo -e "\n ⚠️ Ensure you set 2vCPU & 3072MiB RAM MIMIMUM!!! \n"
|
||||
@ -415,8 +414,9 @@ exit
|
||||
fi
|
||||
}
|
||||
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
_ ____ _
|
||||
| | / / /_ (_)________ ____v5__________
|
||||
| | /| / / __ \/ / ___/ __ \/ __ `/ ___/ ___/
|
||||
@ -16,7 +18,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Whisparr"
|
||||
@ -65,18 +66,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -335,7 +335,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating $APP LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -343,8 +342,9 @@ apt-get -y upgrade &>/dev/null
|
||||
msg_ok "Updated $APP LXC"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
_ ____ ______ ____ ________ ______
|
||||
| | v5 / / / / / __ \/ __ \/ ____/ / / ____/
|
||||
| | /| / / /_/ / / / / / / / / __/ / / __/
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Whoogle"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating ${APP} LXC"
|
||||
pip3 install whoogle-search --upgrade &>/dev/null
|
||||
@ -346,8 +345,9 @@ msg_ok "Updated ${APP} LXC"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
_ ___ __ _ _
|
||||
| | v5 / (_) /__(_) (_)____
|
||||
| | /| / / / //_/ / / / ___/
|
||||
@ -16,7 +18,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Wikijs"
|
||||
@ -65,18 +66,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -339,7 +339,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Stopping ${APP}"
|
||||
systemctl stop wikijs
|
||||
@ -360,8 +359,9 @@ msg_ok "Started ${APP}"
|
||||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
_ ___ ______ __
|
||||
| | / (_)_______ / ____/_ ______ __________/ /
|
||||
| | /| / / / ___/ _ \/ / __/ / / / __ `/ ___/ __ /
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Wireguard"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -342,7 +342,6 @@ UPD=$(whiptail --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spaceb
|
||||
"1" "Update ${APP} LXC" ON \
|
||||
"2" "Install WGDashboard" OFF \
|
||||
3>&1 1>&2 2>&3)
|
||||
clear
|
||||
header_info
|
||||
if [ "$UPD" == "1" ]; then
|
||||
msg_info "Updating ${APP} LXC"
|
||||
@ -402,8 +401,9 @@ exit
|
||||
fi
|
||||
}
|
||||
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
__ __ __ __ __
|
||||
\ \/ /_ ______v5____ / / / /___ _____/ /_
|
||||
\ / / / / __ \/ __ \/ /_/ / __ \/ ___/ __/
|
||||
@ -15,7 +17,6 @@ __ __ __ __ __
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="YunoHost"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -334,7 +334,6 @@ function install_script() {
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
msg_info "Updating $APP LXC"
|
||||
apt-get update &>/dev/null
|
||||
@ -342,8 +341,9 @@ apt-get -y upgrade &>/dev/null
|
||||
msg_ok "Updated $APP LXC"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
_____ _ __ ___ __ _______ ____________
|
||||
/__ / (_)___ _/ /_ ___ ___ |__ \ / |/ / __ \/_ __/_ __/
|
||||
/ / / / __ / __ \/ _ \/ _ \__/ // /|_/ / / / / / / / /
|
||||
@ -16,7 +18,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Zigbee2MQTT"
|
||||
@ -65,18 +66,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -338,7 +338,6 @@ function install_script() {
|
||||
fi
|
||||
}
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
cd /opt/zigbee2mqtt
|
||||
|
||||
@ -393,8 +392,9 @@ start_zigbee2mqtt
|
||||
echo "Done!"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
@ -6,7 +6,9 @@
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
function header_info {
|
||||
cat <<"EOF"
|
||||
clear
|
||||
cat <<"EOF"
|
||||
|
||||
_____ _______ __ ______
|
||||
/__ /_ ______ __v5 _____ / / ___/ / / / / _/
|
||||
/ /| | /| / / __ `/ | / / _ \ __ / /\__ \ / / / // /
|
||||
@ -15,7 +17,6 @@ function header_info {
|
||||
|
||||
EOF
|
||||
}
|
||||
clear
|
||||
header_info
|
||||
echo -e "Loading..."
|
||||
APP="Zwave-JS-UI"
|
||||
@ -64,18 +65,17 @@ function msg_error() {
|
||||
}
|
||||
|
||||
function PVE_CHECK() {
|
||||
PVE=$(pveversion | grep "pve-manager/7" | wc -l)
|
||||
if [[ $PVE != 1 ]]; then
|
||||
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
if [ $(pveversion | grep -c "pve-manager/7\.[0-9]") -eq 0 ]; then
|
||||
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
|
||||
echo -e "Requires PVE Version 7.0 or higher"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
echo -e "\n ${CROSS} This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
@ -337,7 +337,6 @@ function install_script() {
|
||||
fi
|
||||
}
|
||||
function update_script() {
|
||||
clear
|
||||
header_info
|
||||
RELEASE=$(curl -s https://api.github.com/repos/zwave-js/zwave-js-ui/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
||||
msg_info "Stopping Z-wave JS UI"
|
||||
@ -360,8 +359,9 @@ msg_ok "Cleaned"
|
||||
msg_ok "Updated Successfully!\n"
|
||||
exit
|
||||
}
|
||||
clear
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user