|
|
|
@ -82,20 +82,6 @@ function ARCH_CHECK() { |
|
|
|
|
fi |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if ! command -v pveversion >/dev/null 2>&1; then |
|
|
|
|
if [[ ! -d /etc/docker ]]; then |
|
|
|
|
msg_error "No ${APP} Installation Found!"; |
|
|
|
|
exit |
|
|
|
|
fi |
|
|
|
|
if (whiptail --title "${APP} LXC UPDATE" --yesno "This will update ${APP} LXC. Proceed?" 10 58); then |
|
|
|
|
echo "User selected Yes" |
|
|
|
|
else |
|
|
|
|
clear |
|
|
|
|
echo -e "⚠ User exited script \n" |
|
|
|
|
exit |
|
|
|
|
fi |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
function default_settings() { |
|
|
|
|
echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}" |
|
|
|
|
CT_TYPE="1" |
|
|
|
@ -347,7 +333,6 @@ apt-get -y upgrade &>/dev/null |
|
|
|
|
msg_ok "Updated ${APP} LXC" |
|
|
|
|
exit |
|
|
|
|
} |
|
|
|
|
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 |
|
|
|
|
FEATURES="fuse=1,keyctl=1,nesting=1" |
|
|
|
|