diff --git a/actions/easyos b/actions/easyos index 9e52fd4..658c6d0 100644 --- a/actions/easyos +++ b/actions/easyos @@ -5,6 +5,7 @@ BASEDOF="-" HOMEPAGE="https://easyos.org" DESCRIPTION="Experimental distribution designed from scratch to support containers" CREDENTIALS="-" +IMAGE_TYPE="img" function releases_() { local ALL_RELEASES="" @@ -33,3 +34,10 @@ function get_() { done echo "${URL}/${ISO} ${HASH}" } + +function distro_specific() { + if [[ ${ISO} = *".img"* ]]; then + ${QEMU_IMG} convert -f raw -O qcow2 "${VM_PATH}/${ISO}" "${VM_PATH}/disk.qcow2" + ISO="${ISO/.img/}" + fi +} diff --git a/quickget b/quickget index 5efb6eb..e2ffda3 100755 --- a/quickget +++ b/quickget @@ -573,9 +573,6 @@ function make_vm_config() { custom) GUEST="${CUSTOM_OS}" IMAGE_TYPE="${CUSTOM_IMAGE_TYPE}";; - easyos) - GUEST="linux" - IMAGE_TYPE="img";; netbsd) GUEST="netbsd" IMAGE_TYPE="iso";; @@ -684,11 +681,6 @@ function create_vm() { # shellcheck disable=SC2076 case "${OS}" in - easyos) - if [[ ${ISO} = *".img"* ]]; then - ${QEMU_IMG} convert -f raw -O qcow2 "${VM_PATH}/${ISO}" "${VM_PATH}/disk.qcow2" - ISO="${ISO/.img/}" - fi;; #TODO redox-os) if [[ ${ISO} =~ ".zst" ]]; then