mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-30 02:14:34 +01:00
Update haos_vm.sh
This commit is contained in:
parent
5ffc330ad7
commit
dd222aa211
@ -113,8 +113,8 @@ 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 update >/dev/null
|
apt-get --allow-releaseinfo-change update >/dev/null
|
||||||
apt install unzip -y
|
apt-get -qqy install unzip &>/dev/null
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -167,7 +167,7 @@ set +o errtrace
|
|||||||
' ERR
|
' ERR
|
||||||
if [ "$(command -v kpartx)" = "" ]; then
|
if [ "$(command -v kpartx)" = "" ]; then
|
||||||
echo -e "\e[1;33m Installing kpartx... \e[0m"
|
echo -e "\e[1;33m Installing kpartx... \e[0m"
|
||||||
apt-get update >/dev/null
|
apt-get --allow-releaseinfo-change update >/dev/null
|
||||||
apt-get -qqy install kpartx &>/dev/null
|
apt-get -qqy install kpartx &>/dev/null
|
||||||
fi
|
fi
|
||||||
DISK1_PATH="$(pvesm path $DISK1_REF)"
|
DISK1_PATH="$(pvesm path $DISK1_REF)"
|
||||||
|
Loading…
Reference in New Issue
Block a user