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