aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuomas Suutari <tuomas.suutari@gmail.com>2011-10-28 23:55:38 +0200
committerDaniel Lezcano <daniel.lezcano@free.fr>2011-10-28 23:55:38 +0200
commit7d303dea7dfcdcf488f879a71f7061b6c2f6620c (patch)
tree546096473a44f075f3ab5b5526580241e83415e2
parentlxc-fedora.in: Add missing default release variable (diff)
downloadlxc-7d303dea7dfcdcf488f879a71f7061b6c2f6620c.tar.gz
lxc-7d303dea7dfcdcf488f879a71f7061b6c2f6620c.tar.bz2
lxc-7d303dea7dfcdcf488f879a71f7061b6c2f6620c.zip
lxc-fedora.in: Use i386 instead of i686
There is no i686 variant of Fedora, but Ubuntu seems to return i686 from the arch command. Signed-off-by: Tuomas Suutari <tuomas.suutari@gmail.com> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
-rw-r--r--templates/lxc-fedora.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/lxc-fedora.in b/templates/lxc-fedora.in
index 8588aef..1e8fff2 100644
--- a/templates/lxc-fedora.in
+++ b/templates/lxc-fedora.in
@@ -36,6 +36,10 @@ lxc_network_link=virbr0
# is this fedora?
[ -f /etc/fedora-release ] && is_fedora=true
+if [ "$arch" = "i686" ]; then
+ arch=i386
+fi
+
configure_fedora()
{