mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Refactor get_elementary() to add create_vm() compatibility
This commit is contained in:
parent
cf231a8e2c
commit
0a1877d4c3
1 changed files with 4 additions and 8 deletions
12
quickget
12
quickget
|
@ -771,14 +771,10 @@ function get_devuan() {
|
|||
}
|
||||
|
||||
function get_elementary() {
|
||||
local ISO=""
|
||||
local ISOTAG="20211218-rc"
|
||||
local URL=""
|
||||
|
||||
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}"
|
||||
local HASH=""
|
||||
local ISO="elementaryos-${RELEASE}-stable.20211218-rc.iso"
|
||||
local URL="https://ams3.dl.elementary.io/download"
|
||||
echo "${URL}/$(date +%s | base64)/${ISO} ${HASH}"
|
||||
}
|
||||
|
||||
function get_fedora() {
|
||||
|
|
Loading…
Reference in a new issue