mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-25 06:21:56 +00:00
ubuntu os versions (#753)
This commit is contained in:
parent
b28568d0ca
commit
1b35388336
@ -98,10 +98,11 @@ function default_settings() {
|
|||||||
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
|
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
|
||||||
}
|
}
|
||||||
function advanced_settings() {
|
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 \
|
"18.04" "Bionic" OFF \
|
||||||
"20.04" "Focal" ON \
|
"20.04" "Focal" ON \
|
||||||
"21.10" "Impish" OFF \
|
"22.04" "Jammy" OFF \
|
||||||
|
"22.10" "Kinetic" OFF \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
exitstatus=$?
|
exitstatus=$?
|
||||||
if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Ubuntu Version: ${BGN}$var_version${CL}"; fi
|
if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Ubuntu Version: ${BGN}$var_version${CL}"; fi
|
||||||
|
@ -98,10 +98,11 @@ function default_settings() {
|
|||||||
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
|
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
|
||||||
}
|
}
|
||||||
function advanced_settings() {
|
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 \
|
"18.04" "Bionic" OFF \
|
||||||
"20.04" "Focal" ON \
|
"20.04" "Focal" ON \
|
||||||
"21.10" "Impish" OFF \
|
"22.04" "Jammy" OFF \
|
||||||
|
"22.10" "Kinetic" OFF \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
exitstatus=$?
|
exitstatus=$?
|
||||||
if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Ubuntu Version: ${BGN}$var_version${CL}"; fi
|
if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Ubuntu Version: ${BGN}$var_version${CL}"; fi
|
||||||
|
@ -100,8 +100,8 @@ function advanced_settings() {
|
|||||||
var_version=$(whiptail --title "UBUNTU VERSION" --radiolist "Choose Version" 10 58 4 \
|
var_version=$(whiptail --title "UBUNTU VERSION" --radiolist "Choose Version" 10 58 4 \
|
||||||
"18.04" "Bionic" OFF \
|
"18.04" "Bionic" OFF \
|
||||||
"20.04" "Focal" ON \
|
"20.04" "Focal" ON \
|
||||||
"21.10" "Impish" OFF \
|
|
||||||
"22.04" "Jammy" OFF \
|
"22.04" "Jammy" OFF \
|
||||||
|
"22.10" "Kinetic" OFF \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
exitstatus=$?
|
exitstatus=$?
|
||||||
if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Ubuntu Version: ${BGN}$var_version${CL}"; fi
|
if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Ubuntu Version: ${BGN}$var_version${CL}"; fi
|
||||||
|
@ -98,10 +98,11 @@ function default_settings() {
|
|||||||
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
|
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
|
||||||
}
|
}
|
||||||
function advanced_settings() {
|
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 \
|
"18.04" "Bionic" OFF \
|
||||||
"20.04" "Focal" ON \
|
"20.04" "Focal" ON \
|
||||||
"21.10" "Impish" OFF \
|
"22.04" "Jammy" OFF \
|
||||||
|
"22.10" "Kinetic" OFF \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
exitstatus=$?
|
exitstatus=$?
|
||||||
if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Ubuntu Version: ${BGN}$var_version${CL}"; fi
|
if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Ubuntu Version: ${BGN}$var_version${CL}"; fi
|
||||||
|
@ -100,8 +100,8 @@ function advanced_settings() {
|
|||||||
var_version=$(whiptail --title "UBUNTU VERSION" --radiolist "Choose Version" 10 58 4 \
|
var_version=$(whiptail --title "UBUNTU VERSION" --radiolist "Choose Version" 10 58 4 \
|
||||||
"18.04" "Bionic" OFF \
|
"18.04" "Bionic" OFF \
|
||||||
"20.04" "Focal" OFF \
|
"20.04" "Focal" OFF \
|
||||||
"21.10" "Impish" OFF \
|
|
||||||
"22.04" "Jammy" ON \
|
"22.04" "Jammy" ON \
|
||||||
|
"22.10" "Kinetic" OFF \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
exitstatus=$?
|
exitstatus=$?
|
||||||
if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Ubuntu Version: ${BGN}$var_version${CL}"; fi
|
if [ $exitstatus = 0 ]; then echo -e "${DGN}Using Ubuntu Version: ${BGN}$var_version${CL}"; fi
|
||||||
|
Loading…
Reference in New Issue
Block a user