From 646ea4b2d75712f83086b9ca7b06bf543158c169 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 0000000000..c65fcbbdf8 --- /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 55f3e0dde7..d0c3adb849 100644 --- a/tests/nosetests/pyanaconda_tests/product_test.py +++ b/tests/nosetests/pyanaconda_tests/product_test.py @@ -244,6 +244,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.29.2