File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ function msg_ok() {
4747function msg_error() { echo -e " ${RD} ✗ $1 ${CL} " ; }
4848
4949# This function checks the version of Proxmox Virtual Environment (PVE) and exits if the version is not supported.
50- # Supported: Proxmox VE 8.0.x – 8.9.x and 9.0–9.1. x
50+ # Supported: Proxmox VE 8.0.x – 8.9.x and 9.0–9.x
5151pve_check () {
5252 local PVE_VER
5353 PVE_VER=" $( pveversion | awk -F' /' ' {print $2}' | awk -F' -' ' {print $1}' ) "
@@ -63,20 +63,14 @@ pve_check() {
6363 return 0
6464 fi
6565
66- # Check for Proxmox VE 9.x: allow 9.0–9.1. x
66+ # Check for Proxmox VE 9.x: allow 9.0–9.x
6767 if [[ " $PVE_VER " =~ ^9\. ([0-9]+) ]]; then
68- local MINOR=" ${BASH_REMATCH[1]} "
69- if (( MINOR < 0 || MINOR > 1 )) ; then
70- msg_error " This version of Proxmox VE is not yet supported."
71- msg_error " Supported: Proxmox VE version 9.0–9.1.x"
72- exit 105
73- fi
7468 return 0
7569 fi
7670
7771 # All other unsupported versions
7872 msg_error " This version of Proxmox VE is not supported."
79- msg_error " Supported versions: Proxmox VE 8.0 – 8.9 or 9.0–9.1. x"
73+ msg_error " Supported versions: Proxmox VE 8.0 – 8.9 or 9.0–9.x"
8074 exit 105
8175}
8276
You can’t perform that action at this time.
0 commit comments