[lxc-devel] lxc-fedora fixes

Daniel Lezcano daniel.lezcano at free.fr
Mon Jun 22 19:23:58 UTC 2009


Matty wrote:
> Howdy,
>
> I was playing around with LXC containers this past weekend, and
> noticed a couple of issues with the lxc-fedora script:
>
>   
Thanks for using with it, I never used it before today,
I am used to play with lxc-debian.
I was not expecting so much problems with this script :(
grr...

> #5 The package name passed to yumdownloader is incorrect:
>
>    yumdownloader --destdir="${CACHE}/partial" "${DISTRO}-release.noarch.rpm"
>
>    On Fedora 10 and 11, this evaluates to:
>
>    fedora-release.noarch.rpm
>
>    When we need it to evaluate to:
>
>    fedora-{RELEASE_VER}.release.noarch
>   
I try your patch but it seems the syntax is:
     fedora-release-${RELEASE}.noarch
no ?

  -- Daniel




More information about the lxc-devel mailing list