Update pimox-haos-vm.sh

Remove `function PVE_CHECK()`
pull/2860/head
tteckster 7 months ago committed by GitHub
parent 9623058274
commit 82b6e743f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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}')

Loading…
Cancel
Save

Powered by BW's shoe-string budget.