mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-23 23:49:01 +01:00
Update pve8-upgrade.sh
fix version check
This commit is contained in:
parent
ef46c15f67
commit
6cb8129030
@ -179,7 +179,7 @@ if ! command -v pveversion >/dev/null 2>&1; then
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ $(pveversion | grep "pve-manager/(7.4-13|7.4-14|7.4-15)" | wc -l) -ne 1 ]; then
|
||||
if [[ $(pveversion | grep -E "pve-manager/(7.4-13|7.4-14|7.4-15)") ]]; 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."
|
||||
|
Loading…
Reference in New Issue
Block a user