summaryrefslogtreecommitdiffstats
path: root/man/systemd-nspawn.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-02-25 02:27:39 +0100
committerLennart Poettering <lennart@poettering.net>2014-02-25 02:37:59 +0100
commitc74e630d0ce4b1ace116e8211f3b6eb472efa7e3 (patch)
treecf74ee4dbc737f35dc671fe317389eba05522d48 /man/systemd-nspawn.xml
parentRemove dead lines in various places (diff)
downloadsystemd-c74e630d0ce4b1ace116e8211f3b6eb472efa7e3.tar.xz
systemd-c74e630d0ce4b1ace116e8211f3b6eb472efa7e3.zip
nspawn: add new switch --network-macvlan= to add a macvlan device to the container
Diffstat (limited to 'man/systemd-nspawn.xml')
-rw-r--r--man/systemd-nspawn.xml30
1 files changed, 27 insertions, 3 deletions
diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml
index 0a661c9257..a4f222c349 100644
--- a/man/systemd-nspawn.xml
+++ b/man/systemd-nspawn.xml
@@ -260,7 +260,7 @@
<listitem><para>Assign the specified
network interface to the
- container. This will move the
+ container. This will remove the
specified interface from the calling
namespace and place it in the
container. When the container
@@ -275,11 +275,35 @@
</varlistentry>
<varlistentry>
+ <term><option>--network-macvlan=</option></term>
+
+ <listitem><para>Create a
+ <literal>macvlan</literal> interface
+ of the specified Ethernet network
+ interface and add it to the
+ container. A
+ <literal>macvlan</literal> interface
+ is a virtual interface that adds a
+ second MAC address to an existing
+ physical Ethernet link. The interface
+ in the container will be named after
+ the interface on the host, prefixed
+ with <literal>mv-</literal>. Note that
+ <option>--network-macvlan=</option>
+ implies
+ <option>--private-network</option>. This
+ option may be used more than once to
+ add multiple network interfaces to the
+ container.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>--network-veth</option></term>
<listitem><para>Create a virtual
- Ethernet link between host and
- container. The host side of the
+ Ethernet link
+ (<literal>veth</literal>) between host
+ and container. The host side of the
Ethernet link will be available as a
network interface named after the
container's name (as specified with