]> git.proxmox.com Git - mirror_lxc.git/commit
configure container architecture
authorDaniel Lezcano <daniel.lezcano@free.fr>
Mon, 13 Sep 2010 13:36:20 +0000 (15:36 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Mon, 13 Sep 2010 13:36:20 +0000 (15:36 +0200)
commitcccc74b5146cb1b88facef29a530c653dbe0cb90
tree8fd66f3691ce4f1570aca726dbe013ff6e63f6cc
parent547467bddbe54b7812f0df0e9c18a2e1b7091036
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>
doc/lxc.conf.sgml.in
src/lxc/conf.c
src/lxc/conf.h
src/lxc/confile.c