diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-02-25 02:27:39 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-02-25 02:37:59 +0100 |
commit | c74e630d0ce4b1ace116e8211f3b6eb472efa7e3 (patch) | |
tree | cf74ee4dbc737f35dc671fe317389eba05522d48 /man/systemd-nspawn.xml | |
parent | bdd13f6be4b588568683a1ab54f421fc6a636dbb (diff) | |
download | systemd-c74e630d0ce4b1ace116e8211f3b6eb472efa7e3.tar.gz |
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.xml | 30 |
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 |