Compare commits

..

2 Commits

Author SHA1 Message Date
tteckster 3624b67302
Update pve8-upgrade.sh
add check for PVE Version 7.4-13 or higher
2023-06-22 16:32:58 -04:00
tteckster f1319f44fe
Update openwrt.sh
add pve 8
fixes https://github.com/tteck/Proxmox/issues/1528
2023-06-22 15:55:39 -04:00
2 changed files with 10 additions and 1 deletions

View File

@ -179,4 +179,13 @@ if ! command -v pveversion >/dev/null 2>&1; then
exit
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

View File

@ -157,7 +157,7 @@ function msg_error() {
}
function pve_check() {
if [ $(pveversion | grep -c "pve-manager/7\.[2-9]") -eq 0 ]; then
if ! pveversion | grep -Eq "pve-manager/(7\.[2-9]|8\.[0-9])"; then
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "Requires PVE Version 7.2 or higher"
echo -e "Exiting..."