[lxc-devel] [PATCH] Added lxc.arch to configuration files for CentOS and Fedora
Serge Hallyn
serge.hallyn at ubuntu.com
Wed Apr 2 23:07:31 UTC 2014
Quoting Michael H. Warfield (mhw at WittsEnd.com):
> 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>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.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!
>
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel
More information about the lxc-devel
mailing list