Update pimox-haos-vm.sh
Remove `function PVE_CHECK()`
This commit is contained in:
parent
9623058274
commit
82b6e743f1
1 changed files with 0 additions and 9 deletions
|
@ -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}')
|
||||
|
|
Loading…
Reference in a new issue