Update pve8-upgrade.sh
fix version check
This commit is contained in:
parent
26ba9ea323
commit
990e299b35
1 changed files with 2 additions and 2 deletions
|
@ -124,10 +124,10 @@ 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|17))"; then
|
if ! pveversion | grep -Eq "pve-manager/(7\.4-(16|17|18|19))"; then
|
||||||
header_info
|
header_info
|
||||||
msg_error "This version of Proxmox Virtual Environment is not supported"
|
msg_error "This version of Proxmox Virtual Environment is not supported"
|
||||||
echo -e " PVE Version 7.4-13 or higher is required."
|
echo -e " PVE Version 7.4-16 or higher is required."
|
||||||
echo -e "\nExiting..."
|
echo -e "\nExiting..."
|
||||||
sleep 3
|
sleep 3
|
||||||
exit
|
exit
|
||||||
|
|
Loading…
Reference in a new issue