diff --git a/org_fedora_oscap/common.py b/org_fedora_oscap/common.py index 5716e83..a5025e0 100644 --- a/org_fedora_oscap/common.py +++ b/org_fedora_oscap/common.py @@ -56,9 +56,9 @@ SSG_CONTENT = "ssg-rhel7-ds.xml" if constants.shortProductName != 'anaconda': if constants.shortProductName == 'fedora': SSG_CONTENT = "ssg-fedora-ds.xml" - else: - SSG_CONTENT = "ssg-%s%s-ds.xml" % (constants.shortProductName, - constants.productVersion.strip(".")[0]) + elif constants.shortProductName.startswith("rhel"): + # Direct all RHEL products to load RHEL datastream + SSG_CONTENT = "ssg-rhel%s-ds.xml" % (constants.productVersion.strip(".")[0]) RESULTS_PATH = utils.join_paths(TARGET_CONTENT_DIR, "eval_remediate_results.xml")