Skip to content

Commit 38320fc

Browse files
bengaljohannbg
authored andcommitted
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
1 parent 55468a2 commit 38320fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules.d/35network-manager/nm-run.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ kf_parse() {
5656
dhcpopts_create() {
5757
kf_parse root-path new_root_path < "$1"
5858
kf_parse next-server new_next_server < "$1"
59+
kf_parse dhcp-bootfile filename < "$1"
5960
}
6061

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

0 commit comments

Comments
 (0)