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