Merge pull request #147 from offlinehacker/nameservers

Static nameservers should have precedence
This commit is contained in:
Peter Simons
2013-04-22 02:16:11 -07:00

View File

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