From 23a454ea25a684c6de9a62b51f014a488eba29a3 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 | 5 +++++ 2 files changed, 12 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 90b8ad60a..3f2224a69 100644 --- a/tests/nosetests/pyanaconda_tests/product_test.py +++ b/tests/nosetests/pyanaconda_tests/product_test.py @@ -235,6 +235,11 @@ class ProductConfigurationTestCase(unittest.TestCase): ["rhel.conf", "centos.conf"], WORKSTATION_PARTITIONING ) + self._check_default_product( + "CentOS Stream", "", + ["rhel.conf", "centos.conf", "centos-stream.conf"], + WORKSTATION_PARTITIONING + ) self._check_default_product( "Red Hat Virtualization", "", ["rhel.conf", "rhev.conf"], -- 2.26.2