]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
update the man pages
authorDaniel Lezcano <daniel.lezcano@free.fr>
Thu, 19 Nov 2009 14:06:02 +0000 (15:06 +0100)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Thu, 19 Nov 2009 14:06:02 +0000 (15:06 +0100)
Update the man pages regarding the modifications around the
configuration option, volatile containers and new configuration
file format.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
configure.ac
doc/lxc-execute.sgml.in
doc/lxc-start.sgml.in
doc/lxc.conf.sgml.in
doc/lxc.sgml.in

index 4be78a37ffaff7c84fac6b8f75291030085877d0..c0a8693553abe9b472ba46da9fd8476dbd8f2e8d 100644 (file)
@@ -39,6 +39,7 @@ AS_AC_EXPAND(LIBEXECDIR, $libexecdir)
 AS_AC_EXPAND(SYSCONFDIR, $sysconfdir)
 AS_AC_EXPAND(DATADIR, $datadir)
 AS_AC_EXPAND(LOCALSTATEDIR, $localstatedir)
+AS_AC_EXPAND(DOCDIR, $docdir)
 
 AC_ARG_WITH([config-path],
        [AC_HELP_STRING(
@@ -99,6 +100,14 @@ AC_CONFIG_FILES([
        doc/common_options.sgml
        doc/see_also.sgml
 
+       doc/examples/Makefile
+       doc/examples/lxc-macvlan.conf
+       doc/examples/lxc-no-netns.conf
+       doc/examples/lxc-empty-netns.conf
+       doc/examples/lxc-phys.conf
+       doc/examples/lxc-veth.conf
+       doc/examples/lxc-complex-config
+
        scripts/Makefile
        scripts/lxc-debian
        scripts/lxc-fedora
@@ -115,13 +124,6 @@ AC_CONFIG_FILES([
        src/lxc/lxc-create
        src/lxc/lxc-destroy
 
-       doc/examples/Makefile
-       doc/examples/lxc-macvlan.conf
-       doc/examples/lxc-no-netns.conf
-       doc/examples/lxc-empty-netns.conf
-       doc/examples/lxc-phys.conf
-       doc/examples/lxc-veth.conf
-       doc/examples/lxc-complex-config
 ])
 AC_CONFIG_COMMANDS([default],[[]],[[]])
 AC_OUTPUT
index 6d5bcd4c9f6490a0556b96a46c611d6c4670139d..ddd3a13e98177f3671588df3f29f2574fd873b81 100644 (file)
@@ -65,17 +65,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
       should be used to launch an application, eg. sshd or bash.
     </para>
 
-    <para>
-      If the container does not exist, it is automatically created and
-      destroyed at the end. The command can use the configuration file
-      to create itself the container
-      like <command>lxc-create</command> would do and will destroy the
-      container when the application exits. If the container was
-      previously created with the lxc-create command, when the
-      application exits, the container is not destroyed and it can be
-      reused later.
-    </para>
-
     <para>
       This command is mainly used when you want to quickly launch an
       application in an isolated environment. It will create an
index 7a92519ad6489d5c3a9372b1bc6d104beca1174a..fdf64c500e786c6d333aa847473b414a35c59dcd 100644 (file)
@@ -60,10 +60,11 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
     <para>
       <command>lxc-start</command> runs the specified command inside
       the container specified by name. It will setup the container
-      according with the configuration defined previously with the
-      lxc-create command and execute the command inside the
-      container. The orphan process group and daemon are not supported
-      by this command.
+      according the configuration previously defined with the
+      lxc-create command or with the configuration file parameter and
+      execute the command inside the container. If no configuration is
+      defined, the default isolation is used. The orphan process
+      group and daemon are not supported by this command.
       
       If no command is specified, <command>lxc-start</command> will
       use the default
@@ -93,6 +94,18 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
        </listitem>
       </varlistentry>
 
+      <varlistentry>
+       <term>
+         <option>-f <replaceable>config_file</replaceable></option>
+       </term>
+       <listitem>
+         <para>
+           Specify the configuration file to configure the virtualization
+           and isolation functionalities for the container.
+         </para>
+       </listitem>
+      </varlistentry>
+
     </variablelist>
 
   </refsect1>
index aed8f1fef6e1002d2693493e70b09d0d6be05610..c12833361b6fb4ec7c98a319c6b524ac705a1bcf 100644 (file)
@@ -318,6 +318,19 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
            </para>
          </listitem>
        </varlistentry>
+
+       <varlistentry>
+         <term>
+           <option>lxc.mount.entry</option>
+         </term>
+         <listitem>
+           <para>
+             specify a mount point corresponding to a line in the
+             fstab format.
+           </para>
+         </listitem>
+       </varlistentry>
+
       </variablelist>
     </refsect2>
 
@@ -578,6 +591,10 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
          <term>lxc.mount = /etc/fstab.complex</term>
          <listitem><para></para></listitem>
        </varlistentry>
+       <varlistentry>
+         <term>lxc.mount.entry = /lib /root/myrootfs/lib none ro,bind 0 0</term>
+         <listitem><para></para></listitem>
+       </varlistentry>
        <varlistentry>
          <term>lxc.rootfs = /mnt/rootfs.complex</term>
          <listitem><para></para></listitem>
index af2efab02c530a38dcc75e5a05560628630bfd84..8f08ef7f7ab739610f05a38c6c0e419e238b0e11 100644 (file)
@@ -59,7 +59,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
       a container with a predefined configuration template, it may
       work.
       <command>
-       @BINDIR@/lxc-execute -n foo -f @SYSCONFDIR@/lxc/lxc-macvlan.conf /bin/bash
+       @BINDIR@/lxc-execute -n foo -f @DOCDIR@/examples/lxc-macvlan.conf /bin/bash
       </command>
     </para>
   </refsect1>