Adjust tests for new distros

References:
- https://redhat-internal.slack.com/archives/C0235DZB0DT/p1685528139831589
- 1fbd9d975f
This commit is contained in:
Alexander Todorov 2023-05-05 16:16:26 +03:00 committed by Jakub Rusz
parent 4aff9076ea
commit 1f28e50d21
9 changed files with 55 additions and 17 deletions

View file

@ -77,12 +77,12 @@ SSH_KEY=${SSH_DATA_DIR}/id_rsa
SSH_KEY_PUB=$(cat "${SSH_KEY}".pub)
case "${ID}-${VERSION_ID}" in
"rhel-8.8")
"rhel-8"* )
OS_VARIANT="rhel8-unknown"
PROFILE="xccdf_org.ssgproject.content_profile_cis"
DATASTREAM="/usr/share/xml/scap/ssg/content/ssg-rhel8-ds.xml"
;;
"rhel-9.2")
"rhel-9"* )
OS_VARIANT="rhel9-unknown"
PROFILE="xccdf_org.ssgproject.content_profile_cis"
DATASTREAM="/usr/share/xml/scap/ssg/content/ssg-rhel9-ds.xml"