From 1940bff4d299fcc96966ee5878c3e604666a8c39 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Henrik=20Kj=C3=B6lhede?= Date: Thu, 4 Jun 2015 22:22:54 +0200 Subject: [PATCH] Updated the documentation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Henrik Kjölhede --- doc/lxc-usernet.sgml.in | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/doc/lxc-usernet.sgml.in b/doc/lxc-usernet.sgml.in index 856523806..aa9340798 100644 --- a/doc/lxc-usernet.sgml.in +++ b/doc/lxc-usernet.sgml.in @@ -63,6 +63,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA user type bridge number + or + + @group type bridge number + Where @@ -80,6 +84,17 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + + + + + + + is the groupname to which this entry applies. + + + + @@ -110,12 +125,22 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - is the number of network interfaces of the given type which the - given user may attach to the given bridge, for instance 2. + 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 2. + + + Since a user can be 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. + -- 2.47.2