Update post_install.sh

This commit is contained in:
tteckster 2022-04-11 08:41:44 -04:00 committed by GitHub
parent 3615832d85
commit 40f3ee97e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -9,6 +9,12 @@ while true; do
* ) echo "Please answer yes or no.";;
esac
done
if [ `pveversion | grep "pve-manager/7" | wc -l` -ne 1 ]; then
echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater"
echo -e "Exiting..."
sleep 2
exit
fi
clear
echo -e "\e[1;33m Disable Enterprise Repository... \e[0m"
sleep 1