From: Daniel Lezcano Date: Thu, 19 Nov 2009 14:06:02 +0000 (+0100) Subject: update the man pages X-Git-Tag: lxc_0_6_4~16 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0f71d073eec849672b7f5a089fb4697f423c35bc;p=thirdparty%2Flxc.git update the man pages Update the man pages regarding the modifications around the configuration option, volatile containers and new configuration file format. Signed-off-by: Daniel Lezcano --- diff --git a/configure.ac b/configure.ac index 4be78a37f..c0a869355 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/doc/lxc-execute.sgml.in b/doc/lxc-execute.sgml.in index 6d5bcd4c9..ddd3a13e9 100644 --- a/doc/lxc-execute.sgml.in +++ b/doc/lxc-execute.sgml.in @@ -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. - - 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 lxc-create 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. - - This command is mainly used when you want to quickly launch an application in an isolated environment. It will create an diff --git a/doc/lxc-start.sgml.in b/doc/lxc-start.sgml.in index 7a92519ad..fdf64c500 100644 --- a/doc/lxc-start.sgml.in +++ b/doc/lxc-start.sgml.in @@ -60,10 +60,11 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA lxc-start 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, lxc-start will use the default @@ -93,6 +94,18 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + + + + + + Specify the configuration file to configure the virtualization + and isolation functionalities for the container. + + + + diff --git a/doc/lxc.conf.sgml.in b/doc/lxc.conf.sgml.in index aed8f1fef..c12833361 100644 --- a/doc/lxc.conf.sgml.in +++ b/doc/lxc.conf.sgml.in @@ -318,6 +318,19 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + + + + + + + specify a mount point corresponding to a line in the + fstab format. + + + + @@ -578,6 +591,10 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA lxc.mount = /etc/fstab.complex + + lxc.mount.entry = /lib /root/myrootfs/lib none ro,bind 0 0 + + lxc.rootfs = /mnt/rootfs.complex diff --git a/doc/lxc.sgml.in b/doc/lxc.sgml.in index af2efab02..8f08ef7f7 100644 --- a/doc/lxc.sgml.in +++ b/doc/lxc.sgml.in @@ -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. - @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