571088
From 646ea4b2d75712f83086b9ca7b06bf543158c169 Mon Sep 17 00:00:00 2001
7a2bab
From: Brian Stinson <bstinson@centosproject.org>
7a2bab
Date: Thu, 25 Jun 2020 18:10:13 -0500
7a2bab
Subject: [PATCH] Add product data for CentOS Stream
7a2bab
7a2bab
---
7a2bab
 data/product.d/centos-stream.conf                | 7 +++++++
571088
 tests/nosetests/pyanaconda_tests/product_test.py | 5 +++++
571088
 2 files changed, 12 insertions(+)
7a2bab
 create mode 100644 data/product.d/centos-stream.conf
7a2bab
7a2bab
diff --git a/data/product.d/centos-stream.conf b/data/product.d/centos-stream.conf
7a2bab
new file mode 100644
571088
index 0000000000..c65fcbbdf8
7a2bab
--- /dev/null
7a2bab
+++ b/data/product.d/centos-stream.conf
7a2bab
@@ -0,0 +1,7 @@
7a2bab
+# Anaconda configuration file for CentOS Stream.
7a2bab
+
7a2bab
+[Product]
7a2bab
+product_name = CentOS Stream
7a2bab
+
7a2bab
+[Base Product]
7a2bab
+product_name = CentOS Linux
7a2bab
diff --git a/tests/nosetests/pyanaconda_tests/product_test.py b/tests/nosetests/pyanaconda_tests/product_test.py
571088
index 55f3e0dde7..d0c3adb849 100644
7a2bab
--- a/tests/nosetests/pyanaconda_tests/product_test.py
7a2bab
+++ b/tests/nosetests/pyanaconda_tests/product_test.py
571088
@@ -244,6 +244,11 @@ class ProductConfigurationTestCase(unittest.TestCase):
571088
             ["rhel.conf", "centos.conf"],
571088
             WORKSTATION_PARTITIONING
7a2bab
         )
7a2bab
+        self._check_default_product(
7a2bab
+            "CentOS Stream", "",
571088
+            ["rhel.conf", "centos.conf", "centos-stream.conf"],
571088
+            WORKSTATION_PARTITIONING
7a2bab
+        )
7a2bab
         self._check_default_product(
7a2bab
             "Red Hat Virtualization", "",
571088
             ["rhel.conf", "rhev.conf"],
7a2bab
-- 
571088
2.29.2
7a2bab