Update haos-vm-v4.sh

set minimum PVE version 7.2
This commit is contained in:
tteckster 2023-01-02 19:09:02 -05:00 committed by GitHub
parent 4fd380b34c
commit 588b7b5942
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,9 +62,9 @@ function cleanup() {
}
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
if [ `pveversion | grep "pve-manager/7" | wc -l` -ne 1 ]; then
if [ `pveversion | grep "pve-manager/7.2" | wc -l` -ne 1 ]; then
echo "⚠ This version of Proxmox Virtual Environment is not supported"
echo "Requires PVE Version: 7.XX"
echo "Requires PVE Version: =>7.2"
echo "Exiting..."
sleep 3
exit