Bug 2037015
| Summary: | [RFE] Provide a way for mkksiso to customize existing kernel command line parameters | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Jiri Kortus <jikortus> |
| Component: | lorax | Assignee: | Brian Lane <bcl> |
| Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.0 | CC: | jstodola, obudai |
| Target Milestone: | rc | Keywords: | FutureFeature, Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | lorax-34.9.19-1.el9 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-11-15 10:11:08 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1942219 | ||
|
Description
Jiri Kortus
2022-01-04 16:24:42 UTC
Hm, I hadn't considered using it again on a produced image :) I assumed you'd just make it again with the new kickstart. I'll take a look at making it flexible enough that it recognizes that it already has a kickstart on it. It should also be possible to replace existing arguments since they are all space separated. Something like: mkksiso --set-arg="inst.sshd rd.debug selinux=0" ... Thanks for having a look, Brian, that sounds good to me! I know it might be a sort of corner-case (I needed that when creating a test in the first place), but my guess is that sooner or later someone else may need this as well when playing with mkksiso and ISOs created with osbuild-composer :). Upstream commit - https://github.com/weldr/lorax/pull/1230 I'd prefer to have bug #2088631 first, otherwise backporting this will be a bit more involved. Unfortunately, this enhancement changed the way how mkksiso is used. mkksiso /PATH/TO/KICKSTART /PATH/TO/ISO /PATH/TO/NEW-ISO cannot be used any more and --ks is necessary to add when including a kickstart: mkksiso --ks /PATH/TO/KICKSTART /PATH/TO/ISO /PATH/TO/NEW-ISO lorax is an Application Compatibility Level 2 package [1], which means that "application interfaces will not change from minor release to minor release and can be relied upon by the application to be stable for the duration of the major release" [2]. I'm moving this bug back to ASSIGNED to address the incompatibility with mkksiso from RHEL-9.0. [1] https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html-single/package_manifest/index#AppStream-repository [2] https://access.redhat.com/articles/rhel9-abi-compatibility I've figured out how to make it work with --ks or with 3 arguments, PR is here - https://github.com/weldr/lorax/pull/1255 @jstodola Can you please have a look, this is blocking some Image Builder tests, so we would highly appreciate if the build can be preverified soon. :-) Thanks! Checked that lorax-34.9.19-1.el9 is in nightly compose RHEL-9.1.0-20220809.0 Moving to VERIFIED Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (lorax bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:8018 |