From 465996e7a2d2dc1018fbdd149669ec87730a144b Mon Sep 17 00:00:00 2001
From: tteckster <tteckster@gmail.com>
Date: Tue, 6 Feb 2024 10:32:38 -0500
Subject: [PATCH] Update VMs - Requires PVE7 Version 7.4-13 or later, or PVE8
 Version 8.1.1 or later.

---
 vm/debian-vm.sh         | 2 +-
 vm/haos-vm.sh           | 2 +-
 vm/mikrotik-routeros.sh | 2 +-
 vm/nextcloud-vm.sh      | 2 +-
 vm/openwrt.sh           | 2 +-
 vm/owncloud-vm.sh       | 2 +-
 vm/pimox-haos-vm.sh     | 2 +-
 vm/ubuntu-vm.sh         | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/vm/debian-vm.sh b/vm/debian-vm.sh
index c2efe13c..3f2db4f6 100644
--- a/vm/debian-vm.sh
+++ b/vm/debian-vm.sh
@@ -94,7 +94,7 @@ function check_root() {
 function pve_check() {
   if ! pveversion | grep -Eq "pve-manager/(7.4-[1][3-9]|8.1.[1-9])"; then
     msg_error "This version of Proxmox Virtual Environment is not supported"
-    echo -e "Requires PVE Version 7.4-13 or higher"
+    echo -e "Requires PVE7 Version 7.4-13 or later, or PVE8 Version 8.1.1 or later."
     echo -e "Exiting..."
     sleep 2
     exit
diff --git a/vm/haos-vm.sh b/vm/haos-vm.sh
index 75171c11..fff4f939 100644
--- a/vm/haos-vm.sh
+++ b/vm/haos-vm.sh
@@ -117,7 +117,7 @@ function check_root() {
 function pve_check() {
   if ! pveversion | grep -Eq "pve-manager/(7.4-[1][3-9]|8.1.[1-9])"; then
     msg_error "This version of Proxmox Virtual Environment is not supported"
-    echo -e "Requires PVE Version 7.4-13 or higher"
+    echo -e "Requires PVE7 Version 7.4-13 or later, or PVE8 Version 8.1.1 or later."
     echo -e "Exiting..."
     sleep 2
     exit
diff --git a/vm/mikrotik-routeros.sh b/vm/mikrotik-routeros.sh
index aca22423..5c38d9ed 100644
--- a/vm/mikrotik-routeros.sh
+++ b/vm/mikrotik-routeros.sh
@@ -64,7 +64,7 @@ TEMP_DIR=$(mktemp -d)
 pushd $TEMP_DIR >/dev/null
  if ! pveversion | grep -Eq "pve-manager/(7.4-[1][3-9]|8.1.[1-9])"; then
   echo "⚠ This version of Proxmox Virtual Environment is not supported"
-  echo -e "Requires PVE Version 7.4-13 or higher"
+  echo -e "Requires PVE7 Version 7.4-13 or later, or PVE8 Version 8.1.1 or later."
   echo "Exiting..."
   sleep 3
   exit
diff --git a/vm/nextcloud-vm.sh b/vm/nextcloud-vm.sh
index af90b388..ff62c7df 100644
--- a/vm/nextcloud-vm.sh
+++ b/vm/nextcloud-vm.sh
@@ -93,7 +93,7 @@ function check_root() {
 function pve_check() {
   if ! pveversion | grep -Eq "pve-manager/(7.4-[1][3-9]|8.1.[1-9])"; then
     msg_error "This version of Proxmox Virtual Environment is not supported"
-    echo -e "Requires PVE Version 7.4-13 or higher"
+    echo -e "Requires PVE7 Version 7.4-13 or later, or PVE8 Version 8.1.1 or later."
     echo -e "Exiting..."
     sleep 2
     exit
diff --git a/vm/openwrt.sh b/vm/openwrt.sh
index 800cf4d4..5ebb5ec4 100644
--- a/vm/openwrt.sh
+++ b/vm/openwrt.sh
@@ -159,7 +159,7 @@ function msg_error() {
 function pve_check() {
   if ! pveversion | grep -Eq "pve-manager/(7.4-[1][3-9]|8.1.[1-9])"; then
     echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
-    echo -e "Requires PVE Version 7.4-13 or higher"
+    echo -e "Requires PVE7 Version 7.4-13 or later, or PVE8 Version 8.1.1 or later."
     echo -e "Exiting..."
     sleep 2
     exit
diff --git a/vm/owncloud-vm.sh b/vm/owncloud-vm.sh
index 136a5171..7fbe8be6 100644
--- a/vm/owncloud-vm.sh
+++ b/vm/owncloud-vm.sh
@@ -93,7 +93,7 @@ function check_root() {
 function pve_check() {
   if ! pveversion | grep -Eq "pve-manager/(7.4-[1][3-9]|8.1.[1-9])"; then
     msg_error "This version of Proxmox Virtual Environment is not supported"
-    echo -e "Requires PVE Version 7.4-13 or higher"
+    echo -e "Requires PVE7 Version 7.4-13 or later, or PVE8 Version 8.1.1 or later."
     echo -e "Exiting..."
     sleep 2
     exit
diff --git a/vm/pimox-haos-vm.sh b/vm/pimox-haos-vm.sh
index 8c8bebff..fb0bfb31 100644
--- a/vm/pimox-haos-vm.sh
+++ b/vm/pimox-haos-vm.sh
@@ -86,7 +86,7 @@ fi
 function PVE_CHECK() {
   if ! pveversion | grep -Eq "pve-manager/(7.4-[1][3-9]|8.1.[1-9])"; then
     echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
-    echo -e "Requires PVE Version 7.4-13 or higher"
+    echo -e "Requires PVE7 Version 7.4-13 or later, or PVE8 Version 8.1.1 or later."
     echo -e "Exiting..."
     sleep 2
     exit
diff --git a/vm/ubuntu-vm.sh b/vm/ubuntu-vm.sh
index 5d36ba96..be9edc88 100644
--- a/vm/ubuntu-vm.sh
+++ b/vm/ubuntu-vm.sh
@@ -94,7 +94,7 @@ function check_root() {
 function pve_check() {
   if ! pveversion | grep -Eq "pve-manager/(7.4-[1][3-9]|8.1.[1-9])"; then
     msg_error "This version of Proxmox Virtual Environment is not supported"
-    echo -e "Requires PVE Version 7.4-13 or higher"
+    echo -e "Requires PVE7 Version 7.4-13 or later, or PVE8 Version 8.1.1 or later."
     echo -e "Exiting..."
     sleep 2
     exit