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
master
Beniamino Galvani 2021-08-09 09:01:32 +02:00 committed by Jóhann B. Guðmundsson
parent 55468a2d40
commit 38320fce56
1 changed files with 1 additions and 0 deletions

View File

@ -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