Skip to content

Commit

Permalink
fix(network-manager): write DHCP filename option to dhcpopts file
Browse files Browse the repository at this point in the history
Anaconda parses the 'filename' variable [1] set in /tmp/net.$netif.dhcpopts to
determine the name of the kickstart file to use.

[1] https://github.com/rhinstaller/anaconda/blob/anaconda-35.21-1/dracut/fetch-kickstart-net.sh#L31-L34
bengal authored and johannbg committed Aug 10, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 55468a2 commit 38320fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules.d/35network-manager/nm-run.sh
Original file line number Diff line number Diff line change
@@ -56,6 +56,7 @@ kf_parse() {
dhcpopts_create() {
kf_parse root-path new_root_path < "$1"
kf_parse next-server new_next_server < "$1"
kf_parse dhcp-bootfile filename < "$1"
}

for _i in /sys/class/net/*; do

0 comments on commit 38320fc

Please sign in to comment.