[lxc-devel] [PATCH] template: fix fedora-release rpm url

Antoine Catton acatton at tiolive.com
Mon Aug 13 08:27:32 UTC 2012


This fixes the path of fedora-release rpm url in lxc-fedora.in template.

Signed-off-by: Antoine Catton <acatton at tiolive.com>
---
 templates/lxc-fedora.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/lxc-fedora.in b/templates/lxc-fedora.in
index a8fb8ea..0538423 100644
--- a/templates/lxc-fedora.in
+++ b/templates/lxc-fedora.in
@@ -137,7 +137,7 @@ download_fedora()
             echo "Failed to get a mirror"
             continue
         fi
-        RELEASE_URL="$MIRROR_URL/Packages/fedora-release-$release-1.noarch.rpm"
+        RELEASE_URL="$MIRROR_URL/Packages/f/fedora-release-$release-1.noarch.rpm"
         echo "Fetching from $RELEASE_URL"
         curl -f "$RELEASE_URL" > $INSTALL_ROOT/fedora-release-$release.noarch.rpm
         if [ $? -ne 0 ]; then
-- 
1.7.11.2





More information about the lxc-devel mailing list