From 40f3ee97e9fa9af890f2ee7cefec89696b52411c Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 11 Apr 2022 08:41:44 -0400 Subject: [PATCH] Update post_install.sh --- misc/post_install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/misc/post_install.sh b/misc/post_install.sh index f6dc0947..7aa5cdb9 100644 --- a/misc/post_install.sh +++ b/misc/post_install.sh @@ -9,6 +9,12 @@ while true; do * ) echo "Please answer yes or no.";; esac done +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 clear echo -e "\e[1;33m Disable Enterprise Repository... \e[0m" sleep 1