]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Added lxc.arch to configuration files for CentOS and Fedora
authorMichael H. Warfield <mhw@WittsEnd.com>
Wed, 2 Apr 2014 20:54:39 +0000 (16:54 -0400)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Wed, 2 Apr 2014 23:07:45 +0000 (18:07 -0500)
Added lxc.arch to the resulting container configuration files
to support i686 on x86_64 cross arch containers.

Signed-off-by: Michael H. Warfield <mhw@WittsEnd.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
templates/lxc-centos.in
templates/lxc-fedora.in

index 238159a4d559f2989dd1af8f510d4b919c9f9711..21fad854f81b9e039cf709d3b15553ba707d7884 100644 (file)
@@ -600,6 +600,7 @@ lxc.include = @LXCTEMPLATECONFIG@/centos.common.conf
 
     # Append things which require expansion here...
     cat <<EOF >> $config_path/config
+lxc.arch = $arch
 lxc.utsname = $utsname
 
 lxc.autodev = $auto_dev
index 5414b4ef85482a956a38c23f37fc3b460a4f4489..2e14cc8845b9fe9b4a13b7bf99fed8df4e8b1faf 100644 (file)
@@ -1086,6 +1086,7 @@ lxc.include = @LXCTEMPLATECONFIG@/fedora.common.conf
 
     # Append things which require expansion here...
     cat <<EOF >> $config_path/config
+lxc.arch = $arch
 lxc.utsname = $utsname
 
 lxc.autodev = $auto_dev