Merge pull request #147 from offlinehacker/nameservers
Static nameservers should have precedence
This commit is contained in:
commit
8c702b7c28
1 changed files with 1 additions and 1 deletions
|
@ -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}
|
||||
''}
|
||||
|
|
Loading…
Reference in a new issue