From 0330ae6a3ec43c5a3af2e1ff21b4aaf32dc285de Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 8 Apr 2022 09:39:25 -0400 Subject: [PATCH] Update debian-v3.sh --- ct/debian-v3.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ct/debian-v3.sh b/ct/debian-v3.sh index f66439e0..76280f09 100644 --- a/ct/debian-v3.sh +++ b/ct/debian-v3.sh @@ -30,6 +30,15 @@ ${CL}" } header_info +function pve_7() { +if [ `pveversion | grep "pve-manager/7" | wc -l` -ne 1 ]; then + echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater" + echo -e "Exiting..." + sleep 2 + exit +fi +} + function default_settings() { clear header_info