mirror of https://github.com/tteck/Proxmox.git
Update post-install-v3.sh
This commit is contained in:
parent
2320ee8715
commit
ef534db843
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue