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