]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxc-fedora.in: Use i386 instead of i686
authorTuomas Suutari <tuomas.suutari@gmail.com>
Fri, 28 Oct 2011 21:55:38 +0000 (23:55 +0200)
committerDaniel Lezcano <daniel.lezcano@free.fr>
Fri, 28 Oct 2011 21:55:38 +0000 (23:55 +0200)
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>
templates/lxc-fedora.in

index 8588aefb178dcc8be416a22e77977c920d8ad3a3..1e8fff2a4f980b71cd5374c37c7ff12f50dd1077 100644 (file)
@@ -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()
 {