From c9b0e88c0b250b26a64d8d68e325f6a2e962c1d0 Mon Sep 17 00:00:00 2001 From: Cillian de Roiste Date: Thu, 10 Nov 2016 22:53:43 +0100 Subject: [PATCH] NixOS Manual: Container Networking with NM Network Manager calls dhclient on container interfaces and fails which locks you out of the container after a few seconds, unless you tell it not to manage these interfaces. --- nixos/doc/manual/administration/container-networking.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nixos/doc/manual/administration/container-networking.xml b/nixos/doc/manual/administration/container-networking.xml index 1b1576d3babe..d89d262eff4e 100644 --- a/nixos/doc/manual/administration/container-networking.xml +++ b/nixos/doc/manual/administration/container-networking.xml @@ -47,4 +47,12 @@ where eth0 should be replaced with the desired external interface. Note that ve-+ is a wildcard that matches all container interfaces. +If you are using Network Manager, you need to explicitly prevent +it from managing container interfaces: + + +networking.networkmanager.unmanaged = [ "interface-name:ve-*" ]; + + +