]> git.ipfire.org Git - thirdparty/dracut.git/commit
ifcfg/write-ifcfg.sh: aggregate resolv.conf
authorHarald Hoyer <harald@redhat.com>
Fri, 17 Aug 2018 10:50:29 +0000 (12:50 +0200)
committerHarald Hoyer <harald@hoyer.xyz>
Fri, 17 Aug 2018 13:52:36 +0000 (15:52 +0200)
commitee18dd2b88d6767902d442baa92c95f7be69c265
tree8bae666546f2d2ac46c30e81f777069e5ddb6c20
parent09132c732a36cc892310b26c829ac00c007d84ec
ifcfg/write-ifcfg.sh: aggregate resolv.conf

The old code used /tmp/net.$netif.resolv.conf with $netif being randomly
chosen.

As it is not known which nameserver have which priority, just sort them
and deduplicate.
modules.d/45ifcfg/module-setup.sh
modules.d/45ifcfg/write-ifcfg.sh