mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-29 18:13:10 +01:00
Update build.func
add option to choose Debian version
This commit is contained in:
parent
72f3648730
commit
ca4a3ecef2
@ -143,8 +143,19 @@ advanced_settings() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$var_os" == "debian" ]; then
|
if [ "$var_os" == "debian" ]; then
|
||||||
var_version="11"
|
var_version=""
|
||||||
echo -e "${DGN}Using $var_os Version: ${BGN}$var_version${CL}"
|
while [ -z "$var_version" ]; do
|
||||||
|
if var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
|
||||||
|
"11" "Bullseye" OFF \
|
||||||
|
"12" "Bookworm" OFF \
|
||||||
|
3>&1 1>&2 2>&3); then
|
||||||
|
if [ -n "$var_version" ]; then
|
||||||
|
echo -e "${DGN}Using $var_os Version: ${BGN}$var_version${CL}"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
exit-script
|
||||||
|
fi
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$var_os" == "ubuntu" ]; then
|
if [ "$var_os" == "ubuntu" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user