slight tweak after confirming only latest release is available

This commit is contained in:
Phil 2022-01-17 01:03:43 +00:00
parent d06681506f
commit 8adbae8e23
1 changed files with 2 additions and 1 deletions

View File

@ -741,10 +741,11 @@ function get_elementary() {
local ISO=""
local URL=""
local B66tim=""
local isotag="20211218-rc"
validate_release "releases_elementary"
B66tim=$(date +%s | base64 )
ISO="elementaryos-${RELEASE}-stable.20211218-rc.iso"
ISO="elementaryos-${RELEASE}-stable.${isotag}.iso"
# TODO: derive region from geoIP
URL="https://ams3.dl.elementary.io/download/${B66tim}=/${ISO}"
web_get "${URL}" "${VM_PATH}"