Refactor get_elementary()
This commit is contained in:
parent
0fe5232a01
commit
8050abc6f0
5
quickget
5
quickget
@ -921,12 +921,9 @@ function get_elementary() {
|
|||||||
local ISO=""
|
local ISO=""
|
||||||
local ISOTAG="20211218-rc"
|
local ISOTAG="20211218-rc"
|
||||||
local URL=""
|
local URL=""
|
||||||
local B66tim=""
|
|
||||||
|
|
||||||
B66tim=$(date +%s | base64)
|
|
||||||
ISO="elementaryos-${RELEASE}-stable.${ISOTAG}.iso"
|
ISO="elementaryos-${RELEASE}-stable.${ISOTAG}.iso"
|
||||||
# TODO: derive region from geoIP
|
URL="https://ams3.dl.elementary.io/download/$(date +%s | base64)=/${ISO}"
|
||||||
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 New Issue
Block a user