Update haos_vm.sh

This commit is contained in:
tteckster 2022-08-25 15:02:28 -04:00 committed by GitHub
parent 71c0880e0d
commit 0a6820f6c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ function cleanup() {
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
if [ `pveversion | grep "pve-manager/7" | wc -l` -eq 1 ]; then if [ `pveversion | grep "pve-manager/7" | wc -l` -eq 1 ]; then
echo -e "\n🚨 ${RD}This script is for Proxmox Virtual Environment 6.xx${CL}\n" echo -e "\n🚨 ${RD} This script is for Proxmox Virtual Environment 6.xx${CL}\n"
echo "Exiting..." echo "Exiting..."
sleep 3 sleep 3
exit exit