There is no i686 variant of Fedora, but Ubuntu seems to return i686
from the arch command.

Signed-off-by: Tuomas Suutari <tuomas.suut...@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


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to