← Back to team overview

curtin-dev team mailing list archive

[Merge] ~alanbach/curtin:lp1979280 into curtin:master

 

Alan Baghumian has proposed merging ~alanbach/curtin:lp1979280 into curtin:master.

Commit message:
Add support for RHEL 10 family.

LP: #1979280

Requested reviews:
  curtin developers (curtin-dev)
Related bugs:
  Bug #1979280 in curtin: "Deploying Alma linux 9 - unsupported RHEL version"
  https://bugs.launchpad.net/curtin/+bug/1979280

For more details, see:
https://code.launchpad.net/~alanbach/curtin/+git/curtin/+merge/478124

This is a tiny change to add support for the upcoming RHEL 10 family of operating systems when deployed in legacy boot mode.
-- 
Your team curtin developers is requested to review the proposed merge of ~alanbach/curtin:lp1979280 into curtin:master.
diff --git a/curtin/commands/install_grub.py b/curtin/commands/install_grub.py
index 18bc33d..d563b44 100644
--- a/curtin/commands/install_grub.py
+++ b/curtin/commands/install_grub.py
@@ -88,7 +88,7 @@ def get_grub_package_name(target_arch, uefi, rhel_ver=None, osfamily=None):
             if target_arch == 'x86_64':
                 if rhel_ver == '6':
                     grub_name = 'grub'
-                elif rhel_ver in ['7', '8', '9']:
+                elif rhel_ver in ['7', '8', '9', '10']:
                     grub_name = 'grub2-pc'
                 else:
                     raise ValueError('Unsupported RHEL version: %s', rhel_ver)

Follow ups