diff --git a/test/cases/api.sh b/test/cases/api.sh index e66c11b80..441736bb2 100755 --- a/test/cases/api.sh +++ b/test/cases/api.sh @@ -394,6 +394,28 @@ esac export CUSTOM_GPG_KEY export REPOSITORY_CUSTOMIZATION_BLOCK +# Define the customizations for the images here to not have to repeat them +# in every image-type specific file. +case "${IMAGE_TYPE}" in + # The Directories and Files customization is not supported for this image type. + "$IMAGE_TYPE_EDGE_INSTALLER") + OPENSCAP_CUSTOMIZATION_BLOCK= + ;; + *) + OPENSCAP_CUSTOMIZATION_BLOCK=$(cat <