You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
anaconda/SOURCES/0006-Add-MSVSphere-product-...

63 lines
1.9 KiB

From 96287b6d95bcf8490311ab96154fb1588432132f Mon Sep 17 00:00:00 2001
From: tigro <tigro@msvsphere-os.ru>
Date: Tue, 19 Dec 2023 12:00:36 +0300
Subject: [PATCH 06/14] Add MSVSphere product config
---
data/product.d/msvsphere.conf | 30 ++++++++++++++++++++++++++++++
data/product.d/rhel.conf | 1 -
2 files changed, 30 insertions(+), 1 deletion(-)
create mode 100644 data/product.d/msvsphere.conf
diff --git a/data/product.d/msvsphere.conf b/data/product.d/msvsphere.conf
new file mode 100644
index 0000000..f795db9
--- /dev/null
+++ b/data/product.d/msvsphere.conf
@@ -0,0 +1,30 @@
+# Anaconda configuration file for MSVSphere.
+
+[Product]
+product_name = MSVSphere
+
+[Base Product]
+product_name = Red Hat Enterprise Linux
+
+[Anaconda]
+# List of enabled Anaconda DBus modules for RHEL.
+# but without org.fedoraproject.Anaconda.Modules.Subscription
+kickstart_modules =
+ org.fedoraproject.Anaconda.Modules.Timezone
+ org.fedoraproject.Anaconda.Modules.Network
+ org.fedoraproject.Anaconda.Modules.Localization
+ org.fedoraproject.Anaconda.Modules.Security
+ org.fedoraproject.Anaconda.Modules.Users
+ org.fedoraproject.Anaconda.Modules.Payloads
+ org.fedoraproject.Anaconda.Modules.Storage
+ org.fedoraproject.Anaconda.Modules.Services
+
+[Bootloader]
+efi_dir = msvsphere
+
+[Payload]
+enable_closest_mirror = True
+default_source = CLOSEST_MIRROR
+
+[License]
+eula = /usr/share/sphere-release/EULA
diff --git a/data/product.d/rhel.conf b/data/product.d/rhel.conf
index c4de9b6..3f7e282 100644
--- a/data/product.d/rhel.conf
+++ b/data/product.d/rhel.conf
@@ -14,7 +14,6 @@ kickstart_modules =
org.fedoraproject.Anaconda.Modules.Payloads
org.fedoraproject.Anaconda.Modules.Storage
org.fedoraproject.Anaconda.Modules.Services
- org.fedoraproject.Anaconda.Modules.Subscription
[Installation System]
# The detection is disabled since #1645686.
--
2.39.3