mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Refactor get_elementary()
This commit is contained in:
parent
0fe5232a01
commit
8050abc6f0
1 changed files with 1 additions and 4 deletions
5
quickget
5
quickget
|
@ -921,12 +921,9 @@ function get_elementary() {
|
|||
local ISO=""
|
||||
local ISOTAG="20211218-rc"
|
||||
local URL=""
|
||||
local B66tim=""
|
||||
|
||||
B66tim=$(date +%s | base64)
|
||||
ISO="elementaryos-${RELEASE}-stable.${ISOTAG}.iso"
|
||||
# TODO: derive region from geoIP
|
||||
URL="https://ams3.dl.elementary.io/download/${B66tim}=/${ISO}"
|
||||
URL="https://ams3.dl.elementary.io/download/$(date +%s | base64)=/${ISO}"
|
||||
web_get "${URL}" "${VM_PATH}"
|
||||
make_vm_config "${ISO}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue