Refactor get_elementary() to add create_vm() compatibility
This commit is contained in:
parent
cf231a8e2c
commit
0a1877d4c3
12
quickget
12
quickget
@ -771,14 +771,10 @@ function get_devuan() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function get_elementary() {
|
function get_elementary() {
|
||||||
local ISO=""
|
local HASH=""
|
||||||
local ISOTAG="20211218-rc"
|
local ISO="elementaryos-${RELEASE}-stable.20211218-rc.iso"
|
||||||
local URL=""
|
local URL="https://ams3.dl.elementary.io/download"
|
||||||
|
echo "${URL}/$(date +%s | base64)/${ISO} ${HASH}"
|
||||||
ISO="elementaryos-${RELEASE}-stable.${ISOTAG}.iso"
|
|
||||||
URL="https://ams3.dl.elementary.io/download/$(date +%s | base64)=/${ISO}"
|
|
||||||
web_get "${URL}" "${VM_PATH}"
|
|
||||||
make_vm_config "${ISO}"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_fedora() {
|
function get_fedora() {
|
||||||
|
Loading…
Reference in New Issue
Block a user