test/ostree: add test case for RHEL 9.0

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
Ondřej Budai 2021-07-27 09:09:56 +02:00 committed by Ondřej Budai
parent 3f7e815a80
commit 0336612160
2 changed files with 12 additions and 0 deletions

View file

@ -100,6 +100,12 @@ case "${ID}-${VERSION_ID}" in
INSTALLER_TYPE=edge-installer
INSTALLER_FILENAME=installer.iso
;;
"rhel-9.0")
CONTAINER_TYPE=edge-container
CONTAINER_FILENAME=container.tar
INSTALLER_TYPE=edge-installer
INSTALLER_FILENAME=installer.iso
;;
*)
echo "unsupported distro: ${ID}-${VERSION_ID}"
exit 1;;

View file

@ -36,6 +36,12 @@ case "${ID}-${VERSION_ID}" in
OS_VARIANT="rhel8-unknown"
USER_IN_COMMIT="true"
BOOT_LOCATION="$COMPOSE_URL/compose/BaseOS/x86_64/os/";;
"rhel-9.0")
IMAGE_TYPE=edge-commit
OSTREE_REF="rhel/9/${ARCH}/edge"
OS_VARIANT="rhel9.0"
USER_IN_COMMIT="true"
BOOT_LOCATION="$COMPOSE_URL/compose/BaseOS/x86_64/os/";;
*)
echo "unsupported distro: ${ID}-${VERSION_ID}"
exit 1;;