From 7a788da1dea33763d1c789970787f29bcab33aa5 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 15 Dec 2022 11:24:37 -0500 Subject: [PATCH] check for wget --- vm/haos-vm-v4.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/vm/haos-vm-v4.sh b/vm/haos-vm-v4.sh index d4890df0..2e6d6858 100644 --- a/vm/haos-vm-v4.sh +++ b/vm/haos-vm-v4.sh @@ -239,6 +239,7 @@ fi msg_ok "Using ${CL}${BL}$STORAGE${CL} ${GN}for Storage Location." msg_ok "Virtual Machine ID is ${CL}${BL}$VMID${CL}." msg_info "Getting URL for Home Assistant ${BRANCH} Disk Image" +if ! command -v wget >/dev/null 2>&1; then apt-get install -y wget &>/dev/null; fi if [ "$BRANCH" == "$DEV" ]; then URL=https://os-builds.home-assistant.io/${BRANCH}/haos_ova-${BRANCH}.qcow2.xz else