Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2034806

Summary: RFE: Ability to remove quiet rhgb kernel command line options via lorax
Product: Red Hat Enterprise Linux 8 Reporter: Lukas Zapletal <lzap>
Component: loraxAssignee: Brian Lane <bcl>
Status: CLOSED WONTFIX QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.5Keywords: FutureFeature
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-10 22:54:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lukas Zapletal 2021-12-22 08:37:23 UTC
Hello,

we utilize lorax to build Satellite discovery live CD for hardware inventory and one of its features is using kexec. It does not work reliably for anything other than the original text model 25x80, thus we need to add bunch of kernel options like nokaslr and others. However, it is not possible to get rid of rhgb and possibly even quiet options as these seem to be hardcoded in the template:

default=1
splashimage=@SPLASHPATH@
timeout 60
hiddenmenu
title Start @PRODUCT@ @VERSION@
        findiso
        kernel @KERNELPATH@ @ROOT@ @EXTRA@ rd.live.image quiet rhgb
        initrd @INITRDPATH@
title Test this media & start @PRODUCT@ @VERSION@
        findiso
        kernel @KERNELPATH@ @ROOT@ @EXTRA@ rd.live.image rd.live.check quiet
        initrd @INITRDPATH@

We would appreciate if the template only contained absolute bare minimum for the image to work so things could be overriden via lorax arguments. It is currently not possible to get rid of both arguments.

Thanks!

Comment 2 Brian Lane 2022-01-10 22:54:30 UTC
The way to do this is to create your own templates and customize them. See https://weldr.io/lorax/lorax.html#custom-templates (point to them with --lorax-templates when using livemedia-creator).

Comment 3 RHEL Program Management 2022-01-10 22:54:38 UTC
Development Management has reviewed and declined this request. You may appeal this decision by reopening this request.