|
|
@ -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}" |
|
|
|
} |
|
|
|
} |
|
|
|