From 7d303dea7dfcdcf488f879a71f7061b6c2f6620c Mon Sep 17 00:00:00 2001 From: Tuomas Suutari Date: Fri, 28 Oct 2011 23:55:38 +0200 Subject: [PATCH] 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 Signed-off-by: Daniel Lezcano --- templates/lxc-fedora.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/lxc-fedora.in b/templates/lxc-fedora.in index 8588aefb1..1e8fff2a4 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() {