[lxc-devel] [PATCH 2/3] lxc-fedora.in: Use i386 instead of i686
Tuomas Suutari
tuomas.suutari at gmail.com
Wed Oct 26 14:29:42 UTC 2011
There is no i686 variant of Fedora, but Ubuntu seems to return i686
from the arch command.
Signed-off-by: Tuomas Suutari <tuomas.suutari at gmail.com>
---
templates/lxc-fedora.in | 4 ++++
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()
{
--
1.7.5.4
More information about the lxc-devel
mailing list