Update casaos-v5.sh

add function install_script 🤷🏻‍♂️
This commit is contained in:
tteckster 2023-03-11 13:44:53 -05:00 committed by GitHub
parent e6db5a353b
commit d0311a3f1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions

View File

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