Refactor get_cachyos() to add create_vm() compatibility

This commit is contained in:
Martin Wimpress 2022-02-23 10:20:55 +00:00
parent c31fa21cb9
commit 3b3f005ae9
No known key found for this signature in database
GPG key ID: 61DF940515E06DA3

View file

@ -738,12 +738,9 @@ function get_arcolinux() {
function get_cachyos() {
local HASH=""
local ISO=""
local ISO="cachyos-${RELEASE}-x86_64.iso"
local URL="https://mirror.cachyos.org/ISO"
ISO="cachyos-${RELEASE}-x86_64.iso"
web_get "${URL}/${ISO}" "${VM_PATH}"
make_vm_config "${ISO}"
echo "${URL}/${ISO} ${HASH}"
}
function get_debian() {