Generate elementary link (#167)

pull/168/head
Phil Clifford 3 years ago committed by GitHub
parent dcd5039629
commit d0ffb6f4cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      quickget

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

Loading…
Cancel
Save