Yeah, this fixes download, but there are worse problems with fedora >
15:

--- lxc-fedora.orig     2012-08-27 14:08:55.870661264 -0700
+++ lxc-fedora  2012-08-27 14:09:01.966663229 -0700
@@ -138,7 +138,12 @@
             echo "Failed to get a mirror"
             continue
         fi
-        RELEASE_URL="$MIRROR_URL/Packages/fedora-release-$release-1.noarch.rpm"
+        if test $release -lt 17
+        then
+            
RELEASE_URL="$MIRROR_URL/Packages/fedora-release-$release-1.noarch.rpm"
+        else
+            
RELEASE_URL="$MIRROR_URL/Packages/f/fedora-release-$release-1.noarch.rpm"
+        fi
         echo "Fetching from $RELEASE_URL"
         curl -f "$RELEASE_URL" > 
$INSTALL_ROOT/fedora-release-$release.noarch.rpm
         if [ $? -ne 0 ]; then

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005951

Title:
  lxc-fedora template is broken with fedora 17

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1005951/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to