Compare commits

...

2 Commits

Author SHA1 Message Date
tteckster 0d5754de12
Update pve8-install.sh
tweak
2023-06-16 08:17:07 -04:00
tteckster ca4a3ecef2
Update build.func
add option to choose Debian version
2023-06-16 07:48:54 -04:00
2 changed files with 14 additions and 3 deletions

View File

@ -143,9 +143,20 @@ advanced_settings() {
fi fi
if [ "$var_os" == "debian" ]; then if [ "$var_os" == "debian" ]; then
var_version="11" var_version=""
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}" echo -e "${DGN}Using $var_os Version: ${BGN}$var_version${CL}"
fi fi
else
exit-script
fi
done
fi
if [ "$var_os" == "ubuntu" ]; then if [ "$var_os" == "ubuntu" ]; then
var_version="" var_version=""

View File

@ -138,7 +138,7 @@ EOF
yes) yes)
msg_info "Updating to Proxmox VE 8 (Patience)" msg_info "Updating to Proxmox VE 8 (Patience)"
apt-get update apt-get update
apt-get -y dist-upgrade DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confold" dist-upgrade -y
msg_ok "Updated to Proxmox VE 8" msg_ok "Updated to Proxmox VE 8"
;; ;;
no) no)