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