Update pimox-haos-vm.sh

Remove `function PVE_CHECK()`
This commit is contained in:
tteckster 2024-04-20 04:01:18 -04:00 committed by GitHub
parent 9623058274
commit 82b6e743f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 9 deletions

View File

@ -83,14 +83,6 @@ else
echo -e "⚠ User exited script \n" echo -e "⚠ User exited script \n"
exit exit
fi fi
function PVE_CHECK() {
if ! pveversion | grep -Eq "pve-manager/7.[0-4]"; then
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "Exiting..."
sleep 2
exit
fi
}
function ARCH_CHECK() { function ARCH_CHECK() {
ARCH=$(dpkg --print-architecture) ARCH=$(dpkg --print-architecture)
if [[ "$ARCH" == "amd64" ]]; then if [[ "$ARCH" == "amd64" ]]; then
@ -257,7 +249,6 @@ function START_SCRIPT() {
fi fi
} }
ARCH_CHECK ARCH_CHECK
PVE_CHECK
START_SCRIPT START_SCRIPT
while read -r line; do while read -r line; do
TAG=$(echo $line | awk '{print $1}') TAG=$(echo $line | awk '{print $1}')