From 08443f43afd902ca9245646c7c9ce05b86795061 Mon Sep 17 00:00:00 2001 From: Radek Vykydal Date: Sep 03 2020 13:43:44 +0000 Subject: Merge pull request #2822 from rvykydal/network-fix-inst-dhcpclass-option network: fix inst.dhcpclass boot option --- diff --git a/dracut/parse-anaconda-net.sh b/dracut/parse-anaconda-net.sh index 0b8e6bf..29cd38c 100755 --- a/dracut/parse-anaconda-net.sh +++ b/dracut/parse-anaconda-net.sh @@ -65,6 +65,6 @@ fi # set dhcp vendor class dhcpclass=$(getarg inst.dhcpclass) || dhcpclass="anaconda-$(uname -srm)" -echo "send vendor-class-identifier \"$dhcpclass\";" >> /etc/dhclient.conf +echo "rd.net.dhcp.vendor-class=\"$dhcpclass\"" >> $net_conf unset CMDLINE