Static nameservers have precedence

This commit is contained in:
Jaka Hudoklin 2013-04-21 19:48:15 +02:00
parent 7d2ec75ae7
commit 7427639b84

View file

@ -277,7 +277,7 @@ in
script =
''
# Set the static DNS configuration, if given.
cat | ${pkgs.openresolv}/sbin/resolvconf -a static <<EOF
cat | ${pkgs.openresolv}/sbin/resolvconf -m -1 -a static <<EOF
${optionalString (cfg.nameservers != [] && cfg.domain != "") ''
domain ${cfg.domain}
''}