From 292a28bcbaffc748374a7ae5b8fec58c6fdcf1a9 Mon Sep 17 00:00:00 2001 From: zenobit Date: Tue, 18 Feb 2025 03:36:21 +0100 Subject: [PATCH] Move config to.. --- actions/ubuntu | 8 ++++++++ quickget | 10 ---------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/actions/ubuntu b/actions/ubuntu index d03b707..a7870bf 100644 --- a/actions/ubuntu +++ b/actions/ubuntu @@ -89,6 +89,14 @@ case "${OS}" in CREDENTIALS="-";; esac +# If there is a point in the release, check if it is less than 16.04 +if [[ "${RELEASE}" != *"daily"* ]]; then + if [ "${RELEASE//./}" -lt 1604 ]; then + GUEST="linux_old" + fi +fi + + function releases_() { local VERSION_DATA="" local SUPPORTED_VERSIONS=() diff --git a/quickget b/quickget index 6c93ce6..457a72a 100755 --- a/quickget +++ b/quickget @@ -585,16 +585,6 @@ function make_vm_config() { openindiana) GUEST="solaris" IMAGE_TYPE="iso";; - ubuntu*) - GUEST="linux" - IMAGE_TYPE="iso" - # If there is a point in the release, check if it is less than 16.04 - if [[ "${RELEASE}" != *"daily"* ]]; then - if [ "${RELEASE//./}" -lt 1604 ]; then - GUEST="linux_old" - fi - fi - ;; *) GUEST="linux" IMAGE_TYPE="iso";;