|
|
ca7df3 |
From 98dfd9388a14158646f9009324354c83be6a64ce Mon Sep 17 00:00:00 2001
|
|
|
ca7df3 |
From: Pat Riehecky <riehecky@fnal.gov>
|
|
|
ca7df3 |
Date: Mon, 23 Nov 2020 13:50:06 -0600
|
|
|
ca7df3 |
Subject: [PATCH 1/3] Add CentOS Stream config
|
|
|
ca7df3 |
|
|
|
ca7df3 |
https://github.com/rhinstaller/anaconda/pull/3014
|
|
|
ca7df3 |
https://github.com/rhinstaller/anaconda/commit/150bbc179cf51226d6c1bd46279e076ff683ec03
|
|
|
ca7df3 |
---
|
|
|
ca7df3 |
data/product.d/centos-stream.conf | 33 +++++++++++++++++++
|
|
|
ca7df3 |
data/product.d/centos.conf | 28 +---------------
|
|
|
ca7df3 |
.../pyanaconda_tests/product_test.py | 9 +++--
|
|
|
ca7df3 |
3 files changed, 41 insertions(+), 29 deletions(-)
|
|
|
ca7df3 |
create mode 100644 data/product.d/centos-stream.conf
|
|
|
ca7df3 |
|
|
|
ca7df3 |
diff --git a/data/product.d/centos-stream.conf b/data/product.d/centos-stream.conf
|
|
|
ca7df3 |
new file mode 100644
|
|
|
ca7df3 |
index 0000000000..79d13392af
|
|
|
ca7df3 |
--- /dev/null
|
|
|
ca7df3 |
+++ b/data/product.d/centos-stream.conf
|
|
|
ca7df3 |
@@ -0,0 +1,33 @@
|
|
|
ca7df3 |
+# Anaconda configuration file for CentOS Stream.
|
|
|
ca7df3 |
+
|
|
|
ca7df3 |
+[Product]
|
|
|
ca7df3 |
+product_name = CentOS Stream
|
|
|
ca7df3 |
+
|
|
|
ca7df3 |
+[Base Product]
|
|
|
ca7df3 |
+product_name = Red Hat Enterprise Linux
|
|
|
ca7df3 |
+
|
|
|
ca7df3 |
+[Anaconda]
|
|
|
ca7df3 |
+# List of enabled Anaconda DBus modules for RHEL.
|
|
|
ca7df3 |
+# but without org.fedoraproject.Anaconda.Modules.Subscription
|
|
|
ca7df3 |
+kickstart_modules =
|
|
|
ca7df3 |
+ org.fedoraproject.Anaconda.Modules.Timezone
|
|
|
ca7df3 |
+ org.fedoraproject.Anaconda.Modules.Network
|
|
|
ca7df3 |
+ org.fedoraproject.Anaconda.Modules.Localization
|
|
|
ca7df3 |
+ org.fedoraproject.Anaconda.Modules.Security
|
|
|
ca7df3 |
+ org.fedoraproject.Anaconda.Modules.Users
|
|
|
ca7df3 |
+ org.fedoraproject.Anaconda.Modules.Payloads
|
|
|
ca7df3 |
+ org.fedoraproject.Anaconda.Modules.Storage
|
|
|
ca7df3 |
+ org.fedoraproject.Anaconda.Modules.Services
|
|
|
ca7df3 |
+
|
|
|
ca7df3 |
+[Bootloader]
|
|
|
ca7df3 |
+efi_dir = centos
|
|
|
ca7df3 |
+
|
|
|
ca7df3 |
+[User Interface]
|
|
|
ca7df3 |
+help_directory = /usr/share/anaconda/help/centos
|
|
|
ca7df3 |
+default_help_pages =
|
|
|
ca7df3 |
+ centos_help_placeholder.txt
|
|
|
ca7df3 |
+ centos_help_placeholder.xml
|
|
|
ca7df3 |
+ centos_help_placeholder.xml
|
|
|
ca7df3 |
+
|
|
|
ca7df3 |
+[Payload]
|
|
|
ca7df3 |
+default_source = CLOSEST_MIRROR
|
|
|
ca7df3 |
diff --git a/data/product.d/centos.conf b/data/product.d/centos.conf
|
|
|
ca7df3 |
index 9490e038a9..dcf22c3f9d 100644
|
|
|
ca7df3 |
--- a/data/product.d/centos.conf
|
|
|
ca7df3 |
+++ b/data/product.d/centos.conf
|
|
|
ca7df3 |
@@ -4,30 +4,4 @@
|
|
|
ca7df3 |
product_name = CentOS Linux
|
|
|
ca7df3 |
|
|
|
ca7df3 |
[Base Product]
|
|
|
ca7df3 |
-product_name = Red Hat Enterprise Linux
|
|
|
ca7df3 |
-
|
|
|
ca7df3 |
-[Anaconda]
|
|
|
ca7df3 |
-# List of enabled Anaconda DBus modules for RHEL.
|
|
|
ca7df3 |
-# but without org.fedoraproject.Anaconda.Modules.Subscription
|
|
|
ca7df3 |
-kickstart_modules =
|
|
|
ca7df3 |
- org.fedoraproject.Anaconda.Modules.Timezone
|
|
|
ca7df3 |
- org.fedoraproject.Anaconda.Modules.Network
|
|
|
ca7df3 |
- org.fedoraproject.Anaconda.Modules.Localization
|
|
|
ca7df3 |
- org.fedoraproject.Anaconda.Modules.Security
|
|
|
ca7df3 |
- org.fedoraproject.Anaconda.Modules.Users
|
|
|
ca7df3 |
- org.fedoraproject.Anaconda.Modules.Payloads
|
|
|
ca7df3 |
- org.fedoraproject.Anaconda.Modules.Storage
|
|
|
ca7df3 |
- org.fedoraproject.Anaconda.Modules.Services
|
|
|
ca7df3 |
-
|
|
|
ca7df3 |
-[Bootloader]
|
|
|
ca7df3 |
-efi_dir = centos
|
|
|
ca7df3 |
-
|
|
|
ca7df3 |
-[User Interface]
|
|
|
ca7df3 |
-help_directory = /usr/share/anaconda/help/centos
|
|
|
ca7df3 |
-default_help_pages =
|
|
|
ca7df3 |
- centos_help_placeholder.txt
|
|
|
ca7df3 |
- centos_help_placeholder.xml
|
|
|
ca7df3 |
- centos_help_placeholder.xml
|
|
|
ca7df3 |
-
|
|
|
ca7df3 |
-[Payload]
|
|
|
ca7df3 |
-default_source = CLOSEST_MIRROR
|
|
|
ca7df3 |
+product_name = CentOS Stream
|
|
|
ca7df3 |
diff --git a/tests/nosetests/pyanaconda_tests/product_test.py b/tests/nosetests/pyanaconda_tests/product_test.py
|
|
|
ca7df3 |
index 55f3e0dde7..45d532bda1 100644
|
|
|
ca7df3 |
--- a/tests/nosetests/pyanaconda_tests/product_test.py
|
|
|
ca7df3 |
+++ b/tests/nosetests/pyanaconda_tests/product_test.py
|
|
|
ca7df3 |
@@ -239,9 +239,14 @@ class ProductConfigurationTestCase(unittest.TestCase):
|
|
|
ca7df3 |
["rhel.conf"],
|
|
|
ca7df3 |
WORKSTATION_PARTITIONING
|
|
|
ca7df3 |
)
|
|
|
ca7df3 |
+ self._check_default_product(
|
|
|
ca7df3 |
+ "CentOS Stream", "",
|
|
|
ca7df3 |
+ ["rhel.conf", "centos-stream.conf"],
|
|
|
ca7df3 |
+ WORKSTATION_PARTITIONING
|
|
|
ca7df3 |
+ )
|
|
|
ca7df3 |
self._check_default_product(
|
|
|
ca7df3 |
"CentOS Linux", "",
|
|
|
ca7df3 |
- ["rhel.conf", "centos.conf"],
|
|
|
ca7df3 |
+ ["rhel.conf", "centos-stream.conf", "centos.conf"],
|
|
|
ca7df3 |
WORKSTATION_PARTITIONING
|
|
|
ca7df3 |
)
|
|
|
ca7df3 |
self._check_default_product(
|
|
|
ca7df3 |
@@ -251,7 +256,7 @@ class ProductConfigurationTestCase(unittest.TestCase):
|
|
|
ca7df3 |
)
|
|
|
ca7df3 |
self._check_default_product(
|
|
|
ca7df3 |
"oVirt Node Next", "",
|
|
|
ca7df3 |
- ["rhel.conf", "centos.conf", "ovirt.conf"],
|
|
|
ca7df3 |
+ ["rhel.conf", "centos-stream.conf", "centos.conf", "ovirt.conf"],
|
|
|
ca7df3 |
VIRTUALIZATION_PARTITIONING
|
|
|
ca7df3 |
)
|
|
|
ca7df3 |
self._check_default_product(
|
|
|
ca7df3 |
--
|
|
|
ca7df3 |
2.29.2
|
|
|
ca7df3 |
|