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