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
1 changed files with 5 additions and 4 deletions

View File

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