Blame SOURCES/load_rhel_ds_1520358.patch

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