Refactor get_arcolinux() to add create_vm() compatibility
This commit is contained in:
parent
b67c272d19
commit
c31fa21cb9
11
quickget
11
quickget
@ -730,15 +730,10 @@ function get_archlinux() {
|
|||||||
function get_arcolinux() {
|
function get_arcolinux() {
|
||||||
local EDITION="${1:-}"
|
local EDITION="${1:-}"
|
||||||
local HASH=""
|
local HASH=""
|
||||||
local ISO=""
|
local ISO="arcolinux${EDITION:0:1}-${RELEASE}-x86_64.iso"
|
||||||
local URL=""
|
local URL="https://ant.seedhost.eu/arcolinux/iso/${RELEASE}"
|
||||||
|
|
||||||
URL="https://ant.seedhost.eu/arcolinux/iso/${RELEASE}"
|
|
||||||
ISO="arcolinux${EDITION:0:1}-${RELEASE}-x86_64.iso"
|
|
||||||
HASH=$(wget -q -O- "${URL}/${ISO}.sha1" | cut -d' ' -f1)
|
HASH=$(wget -q -O- "${URL}/${ISO}.sha1" | cut -d' ' -f1)
|
||||||
web_get "${URL}/${ISO}" "${VM_PATH}"
|
echo "${URL}/${ISO} ${HASH}"
|
||||||
check_hash "${ISO}" "${HASH}"
|
|
||||||
make_vm_config "${ISO}"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_cachyos() {
|
function get_cachyos() {
|
||||||
|
Loading…
Reference in New Issue
Block a user