ubuntu os versions (#753)

This commit is contained in:
tteckster 2022-11-21 17:34:59 -05:00 committed by GitHub
parent b28568d0ca
commit 1b35388336
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 8 deletions

View File

@ -98,10 +98,11 @@ 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 3 \
var_version=$(whiptail --title "UBUNTU VERSION" --radiolist "Choose Version" 10 58 4 \
"18.04" "Bionic" OFF \
"20.04" "Focal" ON \
"21.10" "Impish" OFF \
"22.04" "Jammy" OFF \
"22.10" "Kinetic" OFF \
3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Ubuntu Version: ${BGN}$var_version${CL}"; fi

View File

@ -98,10 +98,11 @@ 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 3 \
var_version=$(whiptail --title "UBUNTU VERSION" --radiolist "Choose Version" 10 58 4 \
"18.04" "Bionic" OFF \
"20.04" "Focal" ON \
"21.10" "Impish" OFF \
"22.04" "Jammy" OFF \
"22.10" "Kinetic" OFF \
3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Ubuntu Version: ${BGN}$var_version${CL}"; fi

View File

@ -100,8 +100,8 @@ function advanced_settings() {
var_version=$(whiptail --title "UBUNTU VERSION" --radiolist "Choose Version" 10 58 4 \
"18.04" "Bionic" OFF \
"20.04" "Focal" ON \
"21.10" "Impish" OFF \
"22.04" "Jammy" OFF \
"22.10" "Kinetic" OFF \
3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Ubuntu Version: ${BGN}$var_version${CL}"; fi

View File

@ -98,10 +98,11 @@ 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 3 \
var_version=$(whiptail --title "UBUNTU VERSION" --radiolist "Choose Version" 10 58 4 \
"18.04" "Bionic" OFF \
"20.04" "Focal" ON \
"21.10" "Impish" OFF \
"22.04" "Jammy" OFF \
"22.10" "Kinetic" OFF \
3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Ubuntu Version: ${BGN}$var_version${CL}"; fi

View File

@ -100,8 +100,8 @@ function advanced_settings() {
var_version=$(whiptail --title "UBUNTU VERSION" --radiolist "Choose Version" 10 58 4 \
"18.04" "Bionic" OFF \
"20.04" "Focal" OFF \
"21.10" "Impish" OFF \
"22.04" "Jammy" ON \
"22.10" "Kinetic" OFF \
3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Ubuntu Version: ${BGN}$var_version${CL}"; fi