fix(mesh): refresh egress DNS with getent and route clients
This commit is contained in:
parent
ab718ac336
commit
252d082c37
2 changed files with 7 additions and 1 deletions
|
|
@ -4,7 +4,7 @@
|
|||
{ config, pkgs, ... }:
|
||||
let
|
||||
ip = "${pkgs.iproute2}/bin/ip";
|
||||
getent = "${pkgs.glibc}/bin/getent";
|
||||
getent = "${pkgs.getent}/bin/getent";
|
||||
routeScript = pkgs.writeShellScript "mesh-egress-routes" ''
|
||||
set -eu
|
||||
${ip} link show wg-mesh >/dev/null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue