mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-22 08:13:11 +01:00
Update pimox-haos-vm.sh
Remove `function PVE_CHECK()`
This commit is contained in:
parent
9623058274
commit
82b6e743f1
@ -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…
Reference in New Issue
Block a user