Quoting Maximilian Seesslen (m...@seesslen.net): > The Url for the fedora-release RPM changed in release 17. > > Signed-off-by: Maximilian Seesslen <m...@seesslen.net>
Acked-by: Serge E. Hallyn <serge.hal...@ubuntu.com> > --- > templates/lxc-fedora.in | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/templates/lxc-fedora.in b/templates/lxc-fedora.in > index 366e776..684bb9c 100644 > --- a/templates/lxc-fedora.in > +++ b/templates/lxc-fedora.in > @@ -149,7 +149,11 @@ download_fedora() > echo "Failed to get a mirror" > continue > fi > - > RELEASE_URL="$MIRROR_URL/Packages/fedora-release-$release-1.noarch.rpm" > + if [ "$release" -gt "16" ]; then > + > RELEASE_URL="$MIRROR_URL/Packages/f/fedora-release-$release-1.noarch.rpm" > + else > + > RELEASE_URL="$MIRROR_URL/Packages/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 > -- > 1.7.10.4 > > > ------------------------------------------------------------------------------ > Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and > much more. Get web development skills now with LearnDevNow - > 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. > SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122812 > _______________________________________________ > Lxc-devel mailing list > Lxc-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/lxc-devel ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel