Refactor get_elementary() to add create_vm() compatibility

pull/388/head
Martin Wimpress 3 years ago
parent cf231a8e2c
commit 0a1877d4c3
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
  1. 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…
Cancel
Save