Compare commits

..

4 Commits

Author SHA1 Message Date
tteckster 6cb8129030
Update pve8-upgrade.sh
fix version check
2023-06-20 20:10:25 -04:00
tteckster ef46c15f67
Update pve8-upgrade.sh
remove -E option
2023-06-20 20:01:43 -04:00
tteckster 64ace368f1
Update pve8-upgrade.sh
tweak
2023-06-20 19:49:43 -04:00
tteckster 4fc26a08d8
Update pve8-upgrade.sh
work with 7.4-14
2023-06-20 19:37:22 -04:00
1 changed files with 2 additions and 2 deletions

View File

@ -179,10 +179,10 @@ if ! command -v pveversion >/dev/null 2>&1; then
exit
fi
if [ $(pveversion | grep "pve-manager/7.4-13" | 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 " Requires PVE Version: 7.4-13"
echo -e " PVE Version 7.4-13 or higher is required."
echo -e "\nExiting..."
sleep 3
exit