Move config to..

This commit is contained in:
zenobit 2025-02-18 03:36:21 +01:00
parent ed74e50eee
commit 292a28bcba
2 changed files with 8 additions and 10 deletions

View File

@ -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=()

View File

@ -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";;