Update haos_vm.sh

This commit is contained in:
tteck 2021-08-14 16:03:46 -04:00 committed by GitHub
parent e06313cb2f
commit 27d0e3f955
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,7 +113,7 @@ if [[ $FILE == *.zip ]]; then
echo -e "\e[1;33m Checking for unzip command... \e[0m" echo -e "\e[1;33m Checking for unzip command... \e[0m"
if ! command -v unzip &> /dev/null; then if ! command -v unzip &> /dev/null; then
echo -e "\e[1;33m Installing Unzip... \e[0m" echo -e "\e[1;33m Installing Unzip... \e[0m"
apt-get update apt update
apt install unzip -y apt install unzip -y
fi fi
fi fi
@ -185,4 +185,4 @@ set +o errtrace
qm set $VMID -serial0 socket >/dev/null qm set $VMID -serial0 socket >/dev/null
) )
info "Completed Successfully! New VM ID is \e[1m$VMID\e[0m." info "Completed Successfully! New VM ID is \e[1m$VMID\e[0m."