Update haos_vm.sh

This commit is contained in:
tteckster 2021-11-04 07:27:21 -04:00 committed by GitHub
parent 2bb658971a
commit bd1705f2d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ if [[ $FILE == *.zip ]]; then
echo -e "\e[1;33m Checking for unzip command... \e[0m"
if ! command -v unzip &> /dev/null; then
echo -e "\e[1;33m Installing Unzip... \e[0m"
apt-get --allow-releaseinfo-change update >/dev/null
apt-get update >/dev/null
apt-get -qqy install unzip &>/dev/null
fi
fi
@ -176,7 +176,7 @@ set +o errtrace
' ERR
if [ "$(command -v kpartx)" = "" ]; then
echo -e "\e[1;33m Installing kpartx... \e[0m"
apt-get --allow-releaseinfo-change update >/dev/null
apt-get update >/dev/null
apt-get -qqy install kpartx &>/dev/null
fi
DISK1_PATH="$(pvesm path $DISK1_REF)"