doc: clarify the description of the veth network type in the manpage.

Signed-off-by: Michael Adam <obnox@samba.org>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
Michael Adam 2015-01-13 22:27:08 +01:00 committed by Stéphane Graber
parent db2930e174
commit 38005c5436

View File

@ -267,20 +267,20 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
</para> </para>
<para> <para>
<option>veth:</option> a peer network device is created <option>veth:</option> a virtual ethernet pair
with one side assigned to the container and the other device is created with one side assigned to the container
side is attached to a bridge specified by and the other side attached to a bridge specified by
the <option>lxc.network.link</option>. If the bridge is the <option>lxc.network.link</option> option.
not specified, then the veth pair device will be created If the bridge is not specified, then the veth pair device
but not attached to any bridge. Otherwise, the bridge will be created but not attached to any bridge.
has to be setup before on the Otherwise, the bridge has to be created on the system
system, <command>lxc</command> won't handle any before starting the container.
configuration outside of the container. By <command>lxc</command> won't handle any
default <command>lxc</command> choose a name for the configuration outside of the container.
By default, <command>lxc</command> chooses a name for the
network device belonging to the outside of the network device belonging to the outside of the
container, this name is handled container, but if you wish to handle
by <command>lxc</command>, but if you wish to handle this name yourselves, you can tell <command>lxc</command>
this name yourself, you can tell <command>lxc</command>
to set a specific name with to set a specific name with
the <option>lxc.network.veth.pair</option> option (except for the <option>lxc.network.veth.pair</option> option (except for
unprivileged containers where this option is ignored for security unprivileged containers where this option is ignored for security