If you're using a static network config, you'll want to keep your nameservers around when NM starts. Write DNS1 (and DNS2, DNS3, etc..) into the ifcfg file. Thanks to Mark Hamzy <hamzy@xxxxxxxxxx> for the patch. --- modules.d/45ifcfg/write-ifcfg.sh | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/modules.d/45ifcfg/write-ifcfg.sh b/modules.d/45ifcfg/write-ifcfg.sh index c072a13..3e1d89b 100755 --- a/modules.d/45ifcfg/write-ifcfg.sh +++ b/modules.d/45ifcfg/write-ifcfg.sh @@ -53,6 +53,14 @@ for netif in $IFACES ; do echo "NETMASK=$mask" [ -n "$gw" ] && echo "GATEWAY=$gw" fi + namesrv=$(getargs nameserver) + if [ -n "$namesrv" ]; then + i=1 + for n in $namesrv; do + echo DNS$i=$n + i=$(($i+1)) + done + fi } > /tmp/ifcfg/ifcfg-$netif # bridge needs different things written to ifcfg -- 1.7.7.6 -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html