mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-14 02:27:56 +00:00
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:
parent
db2930e174
commit
38005c5436
@ -267,20 +267,20 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<option>veth:</option> a peer network device is created
|
||||
with one side assigned to the container and the other
|
||||
side is attached to a bridge specified by
|
||||
the <option>lxc.network.link</option>. If the bridge is
|
||||
not specified, then the veth pair device will be created
|
||||
but not attached to any bridge. Otherwise, the bridge
|
||||
has to be setup before on the
|
||||
system, <command>lxc</command> won't handle any
|
||||
configuration outside of the container. By
|
||||
default <command>lxc</command> choose a name for the
|
||||
<option>veth:</option> a virtual ethernet pair
|
||||
device is created with one side assigned to the container
|
||||
and the other side attached to a bridge specified by
|
||||
the <option>lxc.network.link</option> option.
|
||||
If the bridge is not specified, then the veth pair device
|
||||
will be created but not attached to any bridge.
|
||||
Otherwise, the bridge has to be created on the system
|
||||
before starting the container.
|
||||
<command>lxc</command> won't handle any
|
||||
configuration outside of the container.
|
||||
By default, <command>lxc</command> chooses a name for the
|
||||
network device belonging to the outside of the
|
||||
container, this name is handled
|
||||
by <command>lxc</command>, but if you wish to handle
|
||||
this name yourself, you can tell <command>lxc</command>
|
||||
container, but if you wish to handle
|
||||
this name yourselves, you can tell <command>lxc</command>
|
||||
to set a specific name with
|
||||
the <option>lxc.network.veth.pair</option> option (except for
|
||||
unprivileged containers where this option is ignored for security
|
||||
|
Loading…
Reference in New Issue
Block a user