From ff5379198b8c8f1f4581b34f42080b02902f79a4 Mon Sep 17 00:00:00 2001 From: tteck Date: Tue, 28 Sep 2021 17:27:59 -0400 Subject: [PATCH] Update post_install.sh --- post_install.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/post_install.sh b/post_install.sh index bd984aa7..2faeca86 100644 --- a/post_install.sh +++ b/post_install.sh @@ -4,7 +4,14 @@ echo -e "\e[1;33m This script will Disable the Enterprise Repo, Add & Enable the Add & Disable Test Repo (repo's can be enabled/disabled via the UI in Repositories) and attempt the No-Nag fix. PVE7 ONLY \e[0m" -read -p "Press [Enter] to start the PVE7 Post Install Script" +while true; do + read -p "Start the PVE7 Post Install Script (y/n)?" yn + case $yn in + [Yy]* ) break;; + [Nn]* ) exit;; + * ) echo "Please answer yes or no.";; + esac +done sed -i "s/^deb/#deb/g" /etc/apt/sources.list.d/pve-enterprise.list