whiptail tweaks

This commit is contained in:
tteckster 2023-01-07 23:56:54 -05:00 committed by GitHub
parent e04913f983
commit 2a87fea992
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
104 changed files with 110 additions and 110 deletions

View file

@ -106,7 +106,7 @@ function default_settings() {
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
var_version=$(whiptail --title "UBUNTU VERSION" --radiolist "Choose Version" 10 58 4 \
var_version=$(whiptail --title "UBUNTU VERSION" --radiolist "Choose Version" 11 58 4 \
"18.04" "Bionic" OFF \
"20.04" "Focal" ON \
"22.04" "Jammy" OFF \
@ -114,7 +114,7 @@ function advanced_settings() {
3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Ubuntu Version: ${BGN}$var_version${CL}"; fi
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist --cancel-button Exit-Script "Choose Type" 8 58 2 \
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist --cancel-button Exit-Script "Choose Type" 10 58 2 \
"1" "Unprivileged" OFF \
"0" "Privileged" ON \
3>&1 1>&2 2>&3)