Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-87579

Add functionality to set default kernel with bootloader

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • rhel-system-roles-1.105.0-0.1.el9
    • Low
    • rhel-system-roles
    • 0
    • Dev ack
    • False
    • False
    • Hide

      None

      Show
      None
    • Yes
    • Red Hat Enterprise Linux
    • None
    • Enhancement
    • Hide
      .Ability to configure the default kernel in `rhel-system-roles`

      Previously, users could not specify which kernel should be set as the default during system boot. This limitation prevented administrators from easily managing the default kernel selection during automation.

      With this update, the `rhel-system-roles` package allows configuring the default bootloader kernel using a new `default` option. Users can now designate a single kernel as the default by setting the `default` boolean parameter in kernel settings. The system validates that only one kernel can be marked as default, and applies the selection using `grubby --set-default` as required.

      This enhancement improves flexibility and simplifies automation when managing kernel versions in RHEL.
      Show
      .Ability to configure the default kernel in `rhel-system-roles` Previously, users could not specify which kernel should be set as the default during system boot. This limitation prevented administrators from easily managing the default kernel selection during automation. With this update, the `rhel-system-roles` package allows configuring the default bootloader kernel using a new `default` option. Users can now designate a single kernel as the default by setting the `default` boolean parameter in kernel settings. The system validates that only one kernel can be marked as default, and applies the selection using `grubby --set-default` as required. This enhancement improves flexibility and simplifies automation when managing kernel versions in RHEL.
    • Done
    • Done
    • Unspecified
    • Done
    • None

      Currently, the role does not support setting the default kernel. It is able to print what is the default kernel by returning bootloader_facts, and allows for editing the DEFAULT kernel.
      It should be able to set the default kernel with `grubby --set-default`.

              spetros@redhat.com Sergei Petrosian
              spetros@redhat.com Sergei Petrosian
              Krishnaswamy Krishna Kumar
              Richard Megginson Richard Megginson
              David Jez David Jez
              Malhar Jivrajani Malhar Jivrajani
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: