From ef534db843bbcb154aa210a578b39bdaa63bc061 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 25 Jun 2022 11:05:30 -0400 Subject: [PATCH] Update post-install-v3.sh --- misc/post-install-v3.sh | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/misc/post-install-v3.sh b/misc/post-install-v3.sh index 19926093..54d0e44e 100644 --- a/misc/post-install-v3.sh +++ b/misc/post-install-v3.sh @@ -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? " 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"