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