Housekeeping

Removed unnecessary wildcards for non-ubuntu operating systems.
This commit is contained in:
Yannick Mauray 2021-10-18 22:39:31 +02:00 committed by Martin Wimpress
parent fd901a987c
commit 91f2abdeab

View File

@ -355,13 +355,13 @@ function make_vm_config() {
if [[ "${OS}" == "freebsd" ]]; then if [[ "${OS}" == "freebsd" ]]; then
GUEST="freebsd" GUEST="freebsd"
IMAGE_TYPE="iso" IMAGE_TYPE="iso"
elif [[ "${OS}" == *"fedora"* ]]; then elif [[ "${OS}" == "fedora" ]]; then
GUEST="linux" GUEST="linux"
IMAGE_TYPE="iso" IMAGE_TYPE="iso"
elif [[ "${OS}" == *"linuxmint"* ]]; then elif [[ "${OS}" == "linuxmint" ]]; then
GUEST="linux" GUEST="linux"
IMAGE_TYPE="iso" IMAGE_TYPE="iso"
elif [[ "${OS}" == *"opensuse"* ]]; then elif [[ "${OS}" == "opensuse" ]]; then
GUEST="linux" GUEST="linux"
IMAGE_TYPE="iso" IMAGE_TYPE="iso"
elif [[ "${OS}" == *"ubuntu"* ]]; then elif [[ "${OS}" == *"ubuntu"* ]]; then
@ -782,13 +782,13 @@ VM_PATH="${OS}-${RELEASE}"
if [ "${OS}" == "macos" ]; then if [ "${OS}" == "macos" ]; then
get_macos get_macos
elif [[ "${OS}" == *"freebsd" ]]; then elif [[ "${OS}" == "freebsd" ]]; then
get_freebsd get_freebsd
elif [[ "${OS}" == *"fedora"* ]]; then elif [[ "${OS}" == "fedora" ]]; then
get_fedora get_fedora
elif [[ "${OS}" == *"linuxmint"* ]]; then elif [[ "${OS}" == "linuxmint" ]]; then
get_linuxmint get_linuxmint
elif [[ "${OS}" == *"opensuse"* ]]; then elif [[ "${OS}" == "opensuse" ]]; then
get_opensuse get_opensuse
elif [[ "${OS}" == *"ubuntu"* ]]; then elif [[ "${OS}" == *"ubuntu"* ]]; then
get_ubuntu get_ubuntu