[lxc-devel] [PATCH] Added lxc.arch to configuration files for CentOS and Fedora
Michael H. Warfield
mhw at WittsEnd.com
Wed Apr 2 20:54:39 UTC 2014
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 at WittsEnd.com>
---
templates/lxc-centos.in | 1 +
templates/lxc-fedora.in | 1 +
2 files changed, 2 insertions(+)
diff --git a/templates/lxc-centos.in b/templates/lxc-centos.in
index 238159a..21fad85 100644
--- a/templates/lxc-centos.in
+++ b/templates/lxc-centos.in
@@ -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
diff --git a/templates/lxc-fedora.in b/templates/lxc-fedora.in
index 5414b4e..2e14cc8 100644
--- a/templates/lxc-fedora.in
+++ b/templates/lxc-fedora.in
@@ -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
--
1.9.0
--
Michael H. Warfield (AI4NB) | (770) 978-7061 | mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20140402/c62d6fdb/attachment-0001.pgp>
More information about the lxc-devel
mailing list