Update haos_vm.sh

This commit is contained in:
tteckster 2022-08-25 14:59:47 -04:00 committed by GitHub
parent 31df60631d
commit 71c0880e0d
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 "${YW}This script is for Proxmox Virtual Environment 6.xx${CL}" 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