Update post-install-v3.sh

This commit is contained in:
tteckster 2022-06-25 11:05:30 -04:00 committed by GitHub
parent 2320ee8715
commit ef534db843
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,9 +104,14 @@ apt --reinstall install proxmox-widget-toolkit &>/dev/null
msg_ok "Disabled Subscription Nag"
fi
msg_info "Updating Proxmox"
sleep 2
apt-get update
apt-get dist-upgrade
msg_ok "Finished"
read -r -p "Update Proxmox VE 7 now? <Y/n> " prompt
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]
then
msg_info "Updating Proxmox VE 7"
apt-get update &>/dev/null
apt-get -y dist-upgrade &>/dev/null
msg_ok "Updated Proxmox VE 7"
fi
sleep 2
msg_ok "Finished Post Install Routines"