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