test/cases: Use openscap customization on RHEL-10

This commit is contained in:
Jakub Rusz 2024-09-10 09:03:29 +02:00 committed by Tomáš Hozza
parent 8cf9a542ab
commit ec4aff7e58
2 changed files with 1 additions and 11 deletions

View file

@ -419,11 +419,6 @@ EOF
;;
esac
# TODO: Remove once Openscap works on el-10
if [[ ($ID == rhel || $ID == centos) && ${VERSION_ID%.*} == 10 ]]; then
yellowprint "OpenSCAP not supported on ${ID}-${VERSION_ID} now. No openscap profile applied!"
OPENSCAP_CUSTOMIZATION_BLOCK=
fi
export OPENSCAP_CUSTOMIZATION_BLOCK
TIMEZONE_CUSTOMIZATION_BLOCK=$(cat <<EOF