1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-12-23 02:04:42 +02:00

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

View File

@ -83,14 +83,6 @@ else
echo -e "⚠ User exited script \n"
exit
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() {
ARCH=$(dpkg --print-architecture)
if [[ "$ARCH" == "amd64" ]]; then
@ -257,7 +249,6 @@ function START_SCRIPT() {
fi
}
ARCH_CHECK
PVE_CHECK
START_SCRIPT
while read -r line; do
TAG=$(echo $line | awk '{print $1}')