Update post_install.sh

This commit is contained in:
tteck 2021-09-28 17:27:59 -04:00 committed by GitHub
parent ec74160386
commit ff5379198b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) 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" 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 sed -i "s/^deb/#deb/g" /etc/apt/sources.list.d/pve-enterprise.list