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" msg_ok "Disabled Subscription Nag"
fi fi
msg_info "Updating Proxmox" read -r -p "Update Proxmox VE 7 now? <Y/n> " prompt
sleep 2 if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]
apt-get update then
apt-get dist-upgrade msg_info "Updating Proxmox VE 7"
msg_ok "Finished" 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"