Update post-install.sh

This commit is contained in:
tteckster 2022-08-11 10:04:39 -04:00 committed by GitHub
parent ef9e363498
commit 35c8333768
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,10 +23,11 @@ while true; do
esac esac
done done
if [ `pveversion | grep "pve-manager/7" | wc -l` -ne 1 ]; then if [ `pveversion | grep "pve-manager/7" | wc -l` -ne 1 ]; then
echo -e "This script requires Proxmox Virtual Environment 7.0 or greater" echo "⚠ This version of Proxmox Virtual Environment is not supported"
echo -e "Exiting..." echo "Requires PVE Version: 7.XX"
sleep 2 echo "Exiting..."
exit sleep 3
exit
fi fi
function header_info { function header_info {
echo -e "${RD} echo -e "${RD}