Move config to..
This commit is contained in:
parent
ed74e50eee
commit
292a28bcba
|
|
@ -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=()
|
||||
|
|
|
|||
10
quickget
10
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";;
|
||||
|
|
|
|||
Loading…
Reference in New Issue