mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Generate elementary link (#167)
This commit is contained in:
parent
dcd5039629
commit
d0ffb6f4cb
1 changed files with 5 additions and 1 deletions
6
quickget
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…
Reference in a new issue