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.
This commit is contained in:
parent
6bb292d42b
commit
c9b0e88c0b
@ -47,4 +47,12 @@ where <literal>eth0</literal> should be replaced with the desired
|
|||||||
external interface. Note that <literal>ve-+</literal> is a wildcard
|
external interface. Note that <literal>ve-+</literal> is a wildcard
|
||||||
that matches all container interfaces.</para>
|
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>
|
</section>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user