Update pve8-upgrade.sh
add check for PVE Version 7.4-13 or higher
This commit is contained in:
parent
f1319f44fe
commit
3624b67302
1 changed files with 9 additions and 0 deletions
|
@ -179,4 +179,13 @@ if ! command -v pveversion >/dev/null 2>&1; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! pveversion | grep -Eq "pve-manager/(7\.4-(13|14|15|16))"; then
|
||||||
|
header_info
|
||||||
|
msg_error "This version of Proxmox Virtual Environment is not supported"
|
||||||
|
echo -e " PVE Version 7.4-13 or higher is required."
|
||||||
|
echo -e "\nExiting..."
|
||||||
|
sleep 3
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
start_routines
|
start_routines
|
||||||
|
|
Loading…
Reference in a new issue