diff options
author | Cillian de Roiste <deroiste@syslab.com> | 2016-11-10 22:53:43 +0100 |
---|---|---|
committer | Cillian de Roiste <deroiste@syslab.com> | 2016-11-20 17:25:33 +0100 |
commit | c9b0e88c0b250b26a64d8d68e325f6a2e962c1d0 (patch) | |
tree | 9880b5ef367d7a9fac5dd88e907b3b15c626f61e /nixos/doc | |
parent | 6bb292d42b60ec78e92836c33d6f0b270d760e84 (diff) |
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.
Diffstat (limited to 'nixos/doc')
-rw-r--r-- | nixos/doc/manual/administration/container-networking.xml | 8 |
1 files changed, 8 insertions, 0 deletions
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 <literal>eth0</literal> should be replaced with the desired external interface. Note that <literal>ve-+</literal> is a wildcard that matches all container interfaces.</para> +<para>If you are using Network Manager, you need to explicitly prevent +it from managing container interfaces: + +<programlisting> +networking.networkmanager.unmanaged = [ "interface-name:ve-*" ]; +</programlisting> +</para> + </section> |