Refactor get_zorin() to add create_vm() compatibility

pull/388/head
Martin Wimpress 3 years ago
parent 23b8e42374
commit ddae16280f
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
  1. 5
      quickget

@ -1184,14 +1184,13 @@ function get_void() {
function get_zorin() {
local EDITION="${1:-}"
local HASH=""
local ISO=""
local URL=""
# Parse out the iso URL from the redirector
URL=$(wget -q -S -O- --max-redirect=0 "https://zrn.co/${RELEASE}${EDITION}" 2>&1 | grep Location | cut -d' ' -f4)
ISO="${URL##*/}"
web_get "${URL}" "${VM_PATH}"
make_vm_config "${ISO}"
echo "${URL} ${HASH}"
}
function unattended_windows() {

Loading…
Cancel
Save