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

View File

@ -9,6 +9,12 @@ while true; do
* ) echo "Please answer yes or no.";; * ) echo "Please answer yes or no.";;
esac esac
done 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 clear
echo -e "\e[1;33m Disable Enterprise Repository... \e[0m" echo -e "\e[1;33m Disable Enterprise Repository... \e[0m"
sleep 1 sleep 1