From 7e5f66191452b884bdd6e6faf36bd6d29476e081 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Tue, 16 Feb 2021 14:27:51 +0000 Subject: [PATCH] services: drone: mount 'resolv'-related files Otherwise the pipelines will have a difficult time resolving hostnames... --- services/drone.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/drone.nix b/services/drone.nix index a9d1b99..de7e72f 100644 --- a/services/drone.nix +++ b/services/drone.nix @@ -184,6 +184,8 @@ in "/run/nscd/socket" ]; BindReadOnlyPaths = [ + "/etc/resolv.conf:/etc/resolv.conf" + "/etc/resolvconf.conf:/etc/resolvconf.conf" "/etc/passwd:/etc/passwd" "/etc/group:/etc/group" "/nix/var/nix/profiles/system/etc/nix:/etc/nix"