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