Skip to content

Commit

Permalink
Added lxc.arch to configuration files for CentOS and Fedora
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mhwarfield authored and stgraber committed Apr 4, 2014
1 parent e0b8d53 commit 24073c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions templates/lxc-centos.in
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions templates/lxc-fedora.in
Expand Up @@ -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
Expand Down

0 comments on commit 24073c8

Please sign in to comment.