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: rc   
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.