lxc-usernet(5)

NAME
lxc-usernet - unprivileged user network administration file.

DESCRIPTION
\FC/etc/lxc/lxc-usernet\F[] controls the limits which the program lxc-user-nic places on network interfaces which an unprivileged user may create.

  CONFIGURATION
This file consists of multiple entries, one per line, of the form:

user type bridge number

or

@group type bridge number

Where

\FCuser\F[]
    is the username to whom this entry applies.

\FC@group\F[]
    is the groupname to which this entry applies.

\FCtype\F[]
    is the type of network interface being allowed. Only veth is currently supported.

\FCbridge\F[]
    is the bridge to which the network interfaces may be attached, for instance \FClxcbr0\F[].

\FCnumber\F[]
    is the number or quota of network interfaces of the given type which the given user or group may attach to the given bridge, for instance \FC2\F[].

Since a user can be specified both by username as well as one or more usergroups, it is possible that several configuration lines enable that user to create network interfaces. In such cases, any interfaces create are counted towards the quotas of the user or group in the order in which they appear in the file. If the quota of one line is full, the rest will be parsed until one is found or the end of the file.

SEE ALSO
lxc(1), lxc-user-nic(1)

AUTHOR
Daniel Lezcano <\FCdaniel.lezcano@free.fr\F[]>