]> 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)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 4 Apr 2014 23:31:09 +0000 (19:31 -0400)
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 6d9e512a2cfff29dbbfef60af3c08d8e1988658b..7b83b8ebbfcc6ca0d6bc1da05ce75bfa9175508c 100644 (file)
@@ -590,6 +590,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 16f0c55e1d20815a988481b282e519b142b67576..27aeeb0ec1c0ef9b8d4927077c585b21c0415f88 100644 (file)
@@ -1076,6 +1076,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