Commit 24073c8f by Michael H. Warfield Committed by Stéphane Graber

Added lxc.arch to configuration files for CentOS and Fedora

Added lxc.arch to the resulting container configuration files to support i686 on x86_64 cross arch containers. Signed-off-by: 's avatarMichael H. Warfield <mhw@WittsEnd.com> Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com>
parent e0b8d533
...@@ -590,6 +590,7 @@ lxc.include = @LXCTEMPLATECONFIG@/centos.common.conf ...@@ -590,6 +590,7 @@ lxc.include = @LXCTEMPLATECONFIG@/centos.common.conf
# Append things which require expansion here... # Append things which require expansion here...
cat <<EOF >> $config_path/config cat <<EOF >> $config_path/config
lxc.arch = $arch
lxc.utsname = $utsname lxc.utsname = $utsname
lxc.autodev = $auto_dev lxc.autodev = $auto_dev
......
...@@ -1076,6 +1076,7 @@ lxc.include = @LXCTEMPLATECONFIG@/fedora.common.conf ...@@ -1076,6 +1076,7 @@ lxc.include = @LXCTEMPLATECONFIG@/fedora.common.conf
# Append things which require expansion here... # Append things which require expansion here...
cat <<EOF >> $config_path/config cat <<EOF >> $config_path/config
lxc.arch = $arch
lxc.utsname = $utsname lxc.utsname = $utsname
lxc.autodev = $auto_dev lxc.autodev = $auto_dev
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment