Update haos-vm.sh

This commit is contained in:
tteckster 2022-04-26 06:41:05 -04:00 committed by GitHub
parent 3ab37b31a0
commit 0e30d8d927
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -220,11 +220,7 @@ 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 "Container ID is ${CL}${BL}$VMID${CL}." msg_ok "Container ID is ${CL}${BL}$VMID${CL}."
msg_info "Getting URL for Latest Home Assistant Disk Image" msg_info "Getting URL for Latest Home Assistant Disk Image"
URL=https://github.com/home-assistant/operating-system/releases/download/7.6/haos_ova-7.6.qcow2.xz URL=https://github.com/home-assistant/operating-system/releases/download/7.6/haos_ova-7.6.qcow2.xz
if [ -z "$URL" ]; then
die "Github has returned an error, Please try again later."
fi
msg_ok "Found URL for Latest Home Assistant Disk Image" msg_ok "Found URL for Latest Home Assistant Disk Image"
msg_ok "${CL}${BL}${URL}${CL}" msg_ok "${CL}${BL}${URL}${CL}"
wget -q --show-progress $URL wget -q --show-progress $URL