mirror of https://github.com/tteck/Proxmox.git
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