Skip to content

Commit

Permalink
Merge pull request #3562 from andrewlukoshko/rhel-8
Browse files Browse the repository at this point in the history
Add product config for AlmaLinux (rhel-8)
  • Loading branch information
rvykydal committed Oct 20, 2021
2 parents 2c98052 + 5f25210 commit 69b9f8f
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
33 changes: 33 additions & 0 deletions data/product.d/almalinux.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Anaconda configuration file for AlmaLinux.

[Product]
product_name = AlmaLinux

[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 = almalinux

[User Interface]
custom_stylesheet = /usr/share/anaconda/pixmaps/redhat.css

[Payload]
enable_closest_mirror = True
default_source = CLOSEST_MIRROR

[License]
eula = /usr/share/almalinux-release/EULA
5 changes: 5 additions & 0 deletions tests/nosetests/pyanaconda_tests/product_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,11 @@ def rhel_products_test(self):
["rhel.conf", "scientific-linux.conf"],
WORKSTATION_PARTITIONING
)
self._check_default_product(
"AlmaLinux", "",
["rhel.conf", "almalinux.conf"],
WORKSTATION_PARTITIONING
)

def product_module_list_difference_fedora_rhel_test(self):
"""Test for expected Fedora & RHEL module list differences."""
Expand Down

0 comments on commit 69b9f8f

Please sign in to comment.