]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
update the man page with the net script hook
authorDaniel Lezcano <daniel.lezcano@free.fr>
Tue, 26 Oct 2010 16:14:47 +0000 (18:14 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Tue, 26 Oct 2010 16:14:47 +0000 (18:14 +0200)
Update the man page wrt the hook script added for the host side
network configuration.

Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>
doc/lxc.conf.sgml.in

index c3ee066dc3f919e1cf8dba35990d6a8259c1f36a..33f4f8a9a51a762703d4259c756b84e8bf905cac 100644 (file)
@@ -310,8 +310,26 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
          </listitem>
        </varlistentry>
 
+       <varlistentry>
+         <term>
+           <option>lxc.network.script.up</option>
+         </term>
+         <listitem>
+           <para>
+             add a configuration option to specify a script to be
+             executed after creating and configuring the network used
+             from the host side. The following arguments are passed
+             to the script: container name and config section name
+             (net) Additional arguments depend on the config section
+             employing a script hook; the following are used by the
+             network system: execution context (up), network type
+             (empty/veth/macvlan/phys), Depending on the network
+             type, other arguments may be passed:
+             veth/macvlan/phys. And finally (host-sided) device name.
+           </para>
+         </listitem>
+       </varlistentry>
       </variablelist>
-
     </refsect2>
 
     <refsect2>