From d0311a3f1bef1ce5704adf65b4bf936798f0af22 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 11 Mar 2023 13:44:53 -0500 Subject: [PATCH] Update casaos-v5.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add function install_script 🤷🏻‍♂️ --- ct/casaos-v5.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/ct/casaos-v5.sh b/ct/casaos-v5.sh index 074c4065..7c00c6b3 100644 --- a/ct/casaos-v5.sh +++ b/ct/casaos-v5.sh @@ -344,6 +344,22 @@ else fi } +function install_script() { +ARCH_CHECK +PVE_CHECK +NEXTID=$(pvesh get /cluster/nextid) +header_info + if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then + header_info + echo -e "${BL}Using Default Settings${CL}" + default_settings + else + header_info + echo -e "${RD}Using Advanced Settings${CL}" + advanced_settings + fi +} + function update_script() { header_info msg_info "Updating ${APP} LXC"