Refactor get_elementary()

pull/373/head
Martin Wimpress 3 years ago
parent dc5cc54af5
commit 98fe5899d0
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
  1. 6
      quickget

@ -866,13 +866,13 @@ function get_debian() {
function get_elementary() {
local ISO=""
local ISOTAG="20211218-rc"
local URL=""
local B66tim=""
local isotag="20211218-rc"
validate_release "releases_elementary"
B66tim=$(date +%s | base64 )
ISO="elementaryos-${RELEASE}-stable.${isotag}.iso"
B66tim=$(date +%s | base64)
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}"

Loading…
Cancel
Save