diff options
author | 2010-09-13 15:36:20 +0200 | |
---|---|---|
committer | 2010-09-13 15:36:20 +0200 | |
commit | cccc74b5146cb1b88facef29a530c653dbe0cb90 (patch) | |
tree | 8fd66f3691ce4f1570aca726dbe013ff6e63f6cc /doc | |
parent | version 0.7.2 (diff) | |
download | lxc-cccc74b5146cb1b88facef29a530c653dbe0cb90.tar.gz lxc-cccc74b5146cb1b88facef29a530c653dbe0cb90.tar.bz2 lxc-cccc74b5146cb1b88facef29a530c653dbe0cb90.zip |
configure container architecture
When a container is installed with 32bits binaries while we are
running on a 64bits host, inside the container we are seen as
64bits arch. That leads to some problems for the package updates
because the scripts will download 64bits packages instead of 32bits.
This patch defines a configuration variable to set the architecture
of the container.
lxc.arch = i686 | x86 | x86_64 | amd64
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lxc.conf.sgml.in | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/lxc.conf.sgml.in b/doc/lxc.conf.sgml.in index a6454b9..f975d57 100644 --- a/doc/lxc.conf.sgml.in +++ b/doc/lxc.conf.sgml.in @@ -76,6 +76,38 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA </para> <refsect2> + <title>Architecture</title> + <para> + Allows to set the architecture for the container. For example, + set a 32bits architecture for a container running 32bits + binaries on a 64bits host. That fix the container scripts + which rely on the architecture to do some work like + downloading the packages. + </para> + + <variablelist> + <varlistentry> + <term> + <option>lxc.arch</option> + </term> + <listitem> + <para> + Specify the architecture for the container. + </para> + <para> + Valid options are + <option>x86</option>, + <option>i686</option>, + <option>x86_64</option>, + <option>amd64</option> + </para> + </listitem> + </varlistentry> + </variablelist> + + </refsect2> + + <refsect2> <title>Hostname</title> <para> The utsname section defines the hostname to be set for the |