diff --git a/misc/core.func b/misc/core.func index af668c42..e42acb84 100644 --- a/misc/core.func +++ b/misc/core.func @@ -301,7 +301,7 @@ root_check() { # pve_check() # # - Validates Proxmox VE version compatibility -# - Supported: PVE 8.0-8.9 and PVE 9.0-9.1 +# - Supported: PVE 8.0-8.9 and PVE 9.0-9.2 # - Exits with error message if unsupported version detected # ------------------------------------------------------------------------------ pve_check() { @@ -319,12 +319,12 @@ pve_check() { return 0 fi - # Check for Proxmox VE 9.x: allow 9.0–9.1 + # Check for Proxmox VE 9.x: allow 9.0–9.2 if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then local MINOR="${BASH_REMATCH[1]}" - if ((MINOR < 0 || MINOR > 1)); then + if ((MINOR < 0 || MINOR > 2)); then msg_error "This version of Proxmox VE is not yet supported." - msg_error "Supported: Proxmox VE version 9.0 – 9.1" + msg_error "Supported: Proxmox VE version 9.0 – 9.2" exit 1 fi return 0 @@ -332,7 +332,7 @@ pve_check() { # All other unsupported versions msg_error "This version of Proxmox VE is not supported." - msg_error "Supported versions: Proxmox VE 8.0 – 8.9 or 9.0 – 9.1" + msg_error "Supported versions: Proxmox VE 8.0 – 8.9 or 9.0 – 9.2" exit 1 } diff --git a/misc/vm-core.func b/misc/vm-core.func index 1383c67e..f3dcd999 100644 --- a/misc/vm-core.func +++ b/misc/vm-core.func @@ -606,16 +606,16 @@ pve_check() { if [[ "$pve_ver" =~ ^9\.([0-9]+) ]]; then local minor="${BASH_REMATCH[1]}" - if ((minor < 0 || minor > 1)); then + if ((minor < 0 || minor > 2)); then msg_error "This version of Proxmox VE is not supported." - msg_error "Supported: Proxmox VE version 9.0 – 9.1" + msg_error "Supported: Proxmox VE version 9.0 – 9.2" exit 105 fi return 0 fi msg_error "This version of Proxmox VE is not supported." - msg_error "Supported versions: Proxmox VE 8.0 – 8.9 or 9.0 – 9.1" + msg_error "Supported versions: Proxmox VE 8.0 – 8.9 or 9.0 – 9.2" exit 105 } diff --git a/vm/allstarlink-vm.sh b/vm/allstarlink-vm.sh index 0d8c92d3..93135136 100644 --- a/vm/allstarlink-vm.sh +++ b/vm/allstarlink-vm.sh @@ -104,9 +104,9 @@ function check_root() { } function pve_check() { - if ! pveversion | grep -Eq "pve-manager/(8\.[1-3]|9\.[0-1])(\.[0-9]+)*"; then + if ! pveversion | grep -Eq "pve-manager/(8\.[1-3]|9\.[0-2])(\.[0-9]+)*"; then msg_error "This version of Proxmox Virtual Environment is not supported" - echo -e "Requires Proxmox Virtual Environment Version 8.1 - 8.3 or 9.0 - 9.1." + echo -e "Requires Proxmox Virtual Environment Version 8.1 - 8.3 or 9.0 - 9.2." echo -e "Exiting..." sleep 2 exit diff --git a/vm/archlinux-vm.sh b/vm/archlinux-vm.sh index 0c1a2a3c..b238b448 100644 --- a/vm/archlinux-vm.sh +++ b/vm/archlinux-vm.sh @@ -138,9 +138,9 @@ function check_root() { } function pve_check() { - if ! pveversion | grep -Eq "pve-manager/(8\.[1-4]|9\.[0-1])(\.[0-9]+)*"; then + if ! pveversion | grep -Eq "pve-manager/(8\.[1-4]|9\.[0-2])(\.[0-9]+)*"; then msg_error "${CROSS}${RD}This version of Proxmox Virtual Environment is not supported" - echo -e "Requires Proxmox Virtual Environment Version 8.1 - 8.4 or 9.0 - 9.1." + echo -e "Requires Proxmox Virtual Environment Version 8.1 - 8.4 or 9.0 - 9.2." echo -e "Exiting..." sleep 2 exit diff --git a/vm/cachyos-vm.sh b/vm/cachyos-vm.sh index fd53ca01..48bb9e67 100644 --- a/vm/cachyos-vm.sh +++ b/vm/cachyos-vm.sh @@ -146,9 +146,9 @@ function check_root() { } function pve_check() { - if ! pveversion | grep -Eq "pve-manager/(8\.[1-4]|9\.[0-1])(\.[0-9]+)*"; then + if ! pveversion | grep -Eq "pve-manager/(8\.[1-4]|9\.[0-2])(\.[0-9]+)*"; then msg_error "${CROSS}${RD}This version of Proxmox Virtual Environment is not supported" - echo -e "Requires Proxmox Virtual Environment Version 8.1 - 8.4 or 9.0 - 9.1." + echo -e "Requires Proxmox Virtual Environment Version 8.1 - 8.4 or 9.0 - 9.2." echo -e "Exiting..." sleep 2 exit diff --git a/vm/debian-13-vm.sh b/vm/debian-13-vm.sh index c979d939..69829f60 100644 --- a/vm/debian-13-vm.sh +++ b/vm/debian-13-vm.sh @@ -140,7 +140,7 @@ function check_root() { } # This function checks the version of Proxmox Virtual Environment (PVE) and exits if the version is not supported. -# Supported: Proxmox VE 8.0.x – 8.9.x and 9.0 – 9.1 +# Supported: Proxmox VE 8.0.x – 8.9.x and 9.0 – 9.2 pve_check() { local PVE_VER PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')" @@ -156,12 +156,12 @@ pve_check() { return 0 fi - # Check for Proxmox VE 9.x: allow 9.0–9.1 + # Check for Proxmox VE 9.x: allow 9.0–9.2 if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then local MINOR="${BASH_REMATCH[1]}" - if ((MINOR < 0 || MINOR > 1)); then + if ((MINOR < 0 || MINOR > 2)); then msg_error "This version of Proxmox VE is not yet supported." - msg_error "Supported: Proxmox VE version 9.0 – 9.1" + msg_error "Supported: Proxmox VE version 9.0 – 9.2" exit 1 fi return 0 @@ -169,7 +169,7 @@ pve_check() { # All other unsupported versions msg_error "This version of Proxmox VE is not supported." - msg_error "Supported versions: Proxmox VE 8.0 – 8.x or 9.0 – 9.1" + msg_error "Supported versions: Proxmox VE 8.0 – 8.x or 9.0 – 9.2" exit 1 } diff --git a/vm/docker-vm-debug.sh b/vm/docker-vm-debug.sh index 58bfeb85..afb04603 100644 --- a/vm/docker-vm-debug.sh +++ b/vm/docker-vm-debug.sh @@ -162,7 +162,7 @@ function check_root() { } # This function checks the version of Proxmox Virtual Environment (PVE) and exits if the version is not supported. -# Supported: Proxmox VE 8.0.x – 8.9.x and 9.0 – 9.1 +# Supported: Proxmox VE 8.0.x – 8.9.x and 9.0 – 9.2 pve_check() { local PVE_VER PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')" @@ -179,12 +179,12 @@ pve_check() { return 0 fi - # Check for Proxmox VE 9.x: allow 9.0 – 9.1 + # Check for Proxmox VE 9.x: allow 9.0 – 9.2 if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then local MINOR="${BASH_REMATCH[1]}" - if ((MINOR < 0 || MINOR > 1)); then + if ((MINOR < 0 || MINOR > 2)); then msg_error "This version of Proxmox VE is not yet supported." - msg_error "Supported: Proxmox VE version 9.0 – 9.1" + msg_error "Supported: Proxmox VE version 9.0 – 9.2" exit 1 fi PVE_MAJOR=9 @@ -193,7 +193,7 @@ pve_check() { # All other unsupported versions msg_error "This version of Proxmox VE is not supported." - msg_error "Supported versions: Proxmox VE 8.0 – 8.x or 9.0 – 9.1" + msg_error "Supported versions: Proxmox VE 8.0 – 8.x or 9.0 – 9.2" exit 1 } diff --git a/vm/nextcloud-vm.sh b/vm/nextcloud-vm.sh index 6b7748c2..fc6eb6a0 100644 --- a/vm/nextcloud-vm.sh +++ b/vm/nextcloud-vm.sh @@ -119,9 +119,9 @@ function check_root() { } function pve_check() { - if ! pveversion | grep -Eq "pve-manager/(8\.[1-4]|9\.[0-1])(\.[0-9]+)*"; then + if ! pveversion | grep -Eq "pve-manager/(8\.[1-4]|9\.[0-2])(\.[0-9]+)*"; then msg_error "This version of Proxmox Virtual Environment is not supported" - echo -e "Requires Proxmox Virtual Environment Version 8.1 - 8.4 or 9.0 - 9.1." + echo -e "Requires Proxmox Virtual Environment Version 8.1 - 8.4 or 9.0 - 9.2." echo -e "Exiting..." sleep 2 exit diff --git a/vm/openwrt.sh b/vm/openwrt.sh index e11d3620..65409646 100644 --- a/vm/openwrt.sh +++ b/vm/openwrt.sh @@ -186,9 +186,9 @@ function msg_error() { } function pve_check() { - if ! pveversion | grep -Eq "pve-manager/(8\.[1-4]|9\.[0-1])(\.[0-9]+)*"; then + if ! pveversion | grep -Eq "pve-manager/(8\.[1-4]|9\.[0-2])(\.[0-9]+)*"; then msg_error "This version of Proxmox Virtual Environment is not supported" - echo -e "Requires Proxmox Virtual Environment Version 8.1 - 8.4 or 9.0 - 9.1." + echo -e "Requires Proxmox Virtual Environment Version 8.1 - 8.4 or 9.0 - 9.2." echo -e "Exiting..." sleep 2 exit diff --git a/vm/opnsense-vm.sh b/vm/opnsense-vm.sh index c616ef2b..b946acbe 100644 --- a/vm/opnsense-vm.sh +++ b/vm/opnsense-vm.sh @@ -182,9 +182,9 @@ function msg_error() { } function pve_check() { - if ! pveversion | grep -Eq "pve-manager/(8\.[1-4]|9\.[0-1])(\.[0-9]+)*"; then + if ! pveversion | grep -Eq "pve-manager/(8\.[1-4]|9\.[0-2])(\.[0-9]+)*"; then msg_error "This version of Proxmox Virtual Environment is not supported" - echo -e "Requires Proxmox Virtual Environment Version 8.1 - 8.4 or 9.0 - 9.1." + echo -e "Requires Proxmox Virtual Environment Version 8.1 - 8.4 or 9.0 - 9.2." echo -e "Exiting..." sleep 2 exit diff --git a/vm/owncloud-vm.sh b/vm/owncloud-vm.sh index 1c15c633..137eada4 100644 --- a/vm/owncloud-vm.sh +++ b/vm/owncloud-vm.sh @@ -120,9 +120,9 @@ function check_root() { } function pve_check() { - if ! pveversion | grep -Eq "pve-manager/(8\.[1-4]|9\.[0-1])(\.[0-9]+)*"; then + if ! pveversion | grep -Eq "pve-manager/(8\.[1-4]|9\.[0-2])(\.[0-9]+)*"; then msg_error "This version of Proxmox Virtual Environment is not supported" - echo -e "Requires Proxmox Virtual Environment Version 8.1 - 8.4 or 9.0 - 9.1." + echo -e "Requires Proxmox Virtual Environment Version 8.1 - 8.4 or 9.0 - 9.2." echo -e "Exiting..." sleep 2 exit diff --git a/vm/ubuntu2204-vm.sh b/vm/ubuntu2204-vm.sh index 3012f61a..730228a8 100644 --- a/vm/ubuntu2204-vm.sh +++ b/vm/ubuntu2204-vm.sh @@ -136,9 +136,9 @@ function check_root() { } function pve_check() { - if ! pveversion | grep -Eq "pve-manager/(8\.[1-4]|9\.[0-1])(\.[0-9]+)*"; then + if ! pveversion | grep -Eq "pve-manager/(8\.[1-4]|9\.[0-2])(\.[0-9]+)*"; then msg_error "${CROSS}${RD}This version of Proxmox Virtual Environment is not supported" - echo -e "Requires Proxmox Virtual Environment Version 8.1 - 8.4 or 9.0 - 9.1." + echo -e "Requires Proxmox Virtual Environment Version 8.1 - 8.4 or 9.0 - 9.2." echo -e "Exiting..." sleep 2 exit diff --git a/vm/ubuntu2404-vm.sh b/vm/ubuntu2404-vm.sh index af2548e5..bf35280c 100644 --- a/vm/ubuntu2404-vm.sh +++ b/vm/ubuntu2404-vm.sh @@ -139,9 +139,9 @@ function check_root() { } function pve_check() { - if ! pveversion | grep -Eq "pve-manager/(8\.[1-4]|9\.[0-1])(\.[0-9]+)*"; then + if ! pveversion | grep -Eq "pve-manager/(8\.[1-4]|9\.[0-2])(\.[0-9]+)*"; then msg_error "${CROSS}${RD}This version of Proxmox Virtual Environment is not supported" - echo -e "Requires Proxmox Virtual Environment Version 8.1 - 8.4 or 9.0 - 9.1." + echo -e "Requires Proxmox Virtual Environment Version 8.1 - 8.4 or 9.0 - 9.2." echo -e "Exiting..." sleep 2 exit diff --git a/vm/ubuntu2410-vm.sh b/vm/ubuntu2410-vm.sh index 1e83def5..43823fae 100644 --- a/vm/ubuntu2410-vm.sh +++ b/vm/ubuntu2410-vm.sh @@ -139,7 +139,7 @@ function check_root() { } function pve_check() { - if ! pveversion | grep -Eq "pve-manager/(8\.[1-4]|9\.[0-1])(\.[0-9]+)*"; then + if ! pveversion | grep -Eq "pve-manager/(8\.[1-4]|9\.[0-2])(\.[0-9]+)*"; then msg_error "${CROSS}${RD}This version of Proxmox Virtual Environment is not supported" echo -e "Requires Proxmox Virtual Environment Version 8.1 - 8.4 or 9.0 - 9.1." echo -e "Exiting..." diff --git a/vm/umbrel-os-vm.sh b/vm/umbrel-os-vm.sh index 9474468b..157322d3 100644 --- a/vm/umbrel-os-vm.sh +++ b/vm/umbrel-os-vm.sh @@ -131,9 +131,9 @@ function check_root() { } function pve_check() { - if ! pveversion | grep -Eq "pve-manager/(8\.[1-4]|9\.[0-1])(\.[0-9]+)*"; then + if ! pveversion | grep -Eq "pve-manager/(8\.[1-4]|9\.[0-2])(\.[0-9]+)*"; then msg_error "${CROSS}${RD}This version of Proxmox Virtual Environment is not supported" - echo -e "Requires Proxmox Virtual Environment Version 8.1 - 8.4 or 9.0 - 9.1." + echo -e "Requires Proxmox Virtual Environment Version 8.1 - 8.4 or 9.0 - 9.2." echo -e "Exiting..." sleep 2 exit diff --git a/vm/unifi-os-server-vm.sh b/vm/unifi-os-server-vm.sh index 25a8b3c8..f385c05e 100644 --- a/vm/unifi-os-server-vm.sh +++ b/vm/unifi-os-server-vm.sh @@ -148,7 +148,7 @@ function check_root() { } # This function checks the version of Proxmox Virtual Environment (PVE) and exits if the version is not supported. -# Supported: Proxmox VE 8.0.x – 8.9.x and 9.0 – 9.1 +# Supported: Proxmox VE 8.0.x – 8.9.x and 9.0 – 9.2 pve_check() { local PVE_VER PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')" @@ -162,12 +162,12 @@ pve_check() { exit 1 fi - # Check for Proxmox VE 9.x: allow 9.0–9.1 + # Check for Proxmox VE 9.x: allow 9.0–9.2 elif [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then local MINOR="${BASH_REMATCH[1]}" - if ((MINOR < 0 || MINOR > 1)); then + if ((MINOR < 0 || MINOR > 2)); then msg_error "This version of Proxmox VE is not yet supported." - msg_error "Supported: Proxmox VE version 9.0 – 9.1" + msg_error "Supported: Proxmox VE version 9.0 – 9.2" exit 1 fi