From 505ba041784f0fc43a1fa7d8547d3b504b0b73dc Mon Sep 17 00:00:00 2001 From: Astro Date: Fri, 22 May 2020 18:34:09 +0200 Subject: [PATCH] lxc-container: don;t useDHCP by default --- lib/lxc-container.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lxc-container.nix b/lib/lxc-container.nix index 9b0e9ae8..e06881ce 100644 --- a/lib/lxc-container.nix +++ b/lib/lxc-container.nix @@ -18,7 +18,7 @@ networking.nameservers = [ "172.20.73.8" "172.20.72.6" "172.20.72.10" "9.9.9.9" ]; networking.interfaces.eth0 = { - useDHCP = true; + useDHCP = false; preferTempAddress = false; }; systemd.network.networks."40-eth0" = {