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 1991449 - [RFE] support "filename" DHCP option for network boot with nm-initrd-generator
Summary: [RFE] support "filename" DHCP option for network boot with nm-initrd-generator
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: dracut
Version: 8.5
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: beta
: ---
Assignee: Pavel Valena
QA Contact: Frantisek Sumsal
URL:
Whiteboard:
Depends On: 1900502 1979387
Blocks: 1991516 1991823
TreeView+ depends on / blocked
 
Reported: 2021-08-09 07:53 UTC by Beniamino Galvani
Modified: 2023-05-16 11:14 UTC (History)
29 users (show)

Fixed In Version: dracut-049-221.git20221214.el8
Doc Type: No Doc Update
Doc Text:
Clone Of: 1979387
: 1991823 (view as bug list)
Environment:
Last Closed: 2023-05-16 09:08:49 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github dracutdevs dracut pull 1581 0 None None None 2021-08-10 07:23:54 UTC
Red Hat Issue Tracker RHELPLAN-92853 0 None None None 2021-08-09 08:00:41 UTC
Red Hat Product Errata RHBA-2023:2994 0 None None None 2023-05-16 09:09:12 UTC

Description Beniamino Galvani 2021-08-09 07:53:09 UTC
Once merged, please backport the patch at:

https://github.com/dracutdevs/dracut/pull/1581

to support changing the kickstart filename via DHCP.

+++ This bug was initially created as a clone of Bug #1979387 +++

+++ This bug was initially created as a clone of Bug #1900502 +++

See details at bug 1900502.

--- Additional comment from Radek Vykydal on 2021-07-27 10:21:47 CEST ---

For the record, using the installer feature from the upstream original of the BZ - bug 1900502 - which is path to kickstart defined via dhcp filename option for "inst.ks" installer boot option requires patch in Anaconda (upstream: https://github.com/rhinstaller/anaconda/pull/3541).

Comment 12 Jan Stodola 2022-11-15 16:27:53 UTC
Hi Pavel,
what is the status of this bug? Anaconda bug 1991516 depends on this one. Could you please move this bug forward?
Thanks

Comment 13 Pavel Valena 2022-11-16 17:25:38 UTC
(In reply to Jan Stodola from comment #12)
> Hi Pavel,
> what is the status of this bug? Anaconda bug 1991516 depends on this one.
> Could you please move this bug forward?
> Thanks

Hello,

I just set too optimistic ITM and forgot to re-evaluate. This is still planned for RHEL 8.8.0.

Pavel

Comment 16 Pavel Valena 2022-12-06 19:26:01 UTC
Created as a PR: https://github.com/redhat-plumbers/dracut-rhel8/pull/20

Comment 20 Jan Stodola 2023-01-02 13:57:12 UTC
I used dracut-049-221.git20221214.el8 when pre-verifying anaconda part (bug 1991516) of this problem and I can confirm it fixes the problem.

/tmp/dhclient.enp1s0.dhcpopts and /tmp/net.enp1s0.dhcpopts contain the expected "filename" option:

pre-pivot:/# cat /tmp/dhclient.enp1s0.dhcpopts
new_next_server=192.168.100.1
filename=/custom_kickstart/ks.cfg
pre-pivot:/#

Comment 28 errata-xmlrpc 2023-05-16 09:08:49 UTC
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 (dracut 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-2023:2994


Note You need to log in before you can comment on or make changes to this bug.