Update haos-vm-v4.sh

revert check for wget
This commit is contained in:
tteckster 2022-12-16 19:04:22 -05:00 committed by GitHub
parent ac54183ec9
commit f1e4e0c19c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -239,7 +239,6 @@ fi
msg_ok "Using ${CL}${BL}$STORAGE${CL} ${GN}for Storage Location." msg_ok "Using ${CL}${BL}$STORAGE${CL} ${GN}for Storage Location."
msg_ok "Virtual Machine ID is ${CL}${BL}$VMID${CL}." msg_ok "Virtual Machine ID is ${CL}${BL}$VMID${CL}."
msg_info "Getting URL for Home Assistant ${BRANCH} Disk Image" 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 if [ "$BRANCH" == "$DEV" ]; then
URL=https://os-builds.home-assistant.io/${BRANCH}/haos_ova-${BRANCH}.qcow2.xz URL=https://os-builds.home-assistant.io/${BRANCH}/haos_ova-${BRANCH}.qcow2.xz
else else