From: Beniamino Galvani Date: Mon, 9 Aug 2021 07:01:32 +0000 (+0200) Subject: fix(network-manager): write DHCP filename option to dhcpopts file X-Git-Tag: 056~113 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=38320fce56a8d83b79d6c970c491a454ba9de213;p=thirdparty%2Fdracut.git fix(network-manager): write DHCP filename option to dhcpopts file 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 --- diff --git a/modules.d/35network-manager/nm-run.sh b/modules.d/35network-manager/nm-run.sh index 28ad4aaa5..8d6942c9a 100755 --- a/modules.d/35network-manager/nm-run.sh +++ b/modules.d/35network-manager/nm-run.sh @@ -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