mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-25 14:31:56 +00:00
Update haos_vm.sh
This commit is contained in:
parent
2bb658971a
commit
bd1705f2d2
@ -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)"
|
||||
|
Loading…
Reference in New Issue
Block a user