From c730f29e7f14aed4c0ffcdb557676630b0f784a9 Mon Sep 17 00:00:00 2001 From: volth Date: Sat, 9 Mar 2019 11:42:14 +0000 Subject: [PATCH] network-scripting: do not run resolvconf if /etc/resolv.conf is managed manually (#56682) The second invocation of resolvconf, missed in https://github.com/NixOS/nixpkgs/pull/32308 --- .../tasks/network-interfaces-scripted.nix | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/nixos/modules/tasks/network-interfaces-scripted.nix b/nixos/modules/tasks/network-interfaces-scripted.nix index 93dfefdce902..c12ada7a030a 100644 --- a/nixos/modules/tasks/network-interfaces-scripted.nix +++ b/nixos/modules/tasks/network-interfaces-scripted.nix @@ -103,16 +103,18 @@ let script = '' - # Set the static DNS configuration, if given. - ${pkgs.openresolv}/sbin/resolvconf -m 1 -a static <