]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc-fedora.in: Fix fetching of the fedora-release rpm
authorTuomas Suutari <tuomas.suutari@gmail.com>
Fri, 28 Oct 2011 21:55:38 +0000 (23:55 +0200)
committerDaniel Lezcano <daniel.lezcano@free.fr>
Fri, 28 Oct 2011 21:55:38 +0000 (23:55 +0200)
commit7bd44bf6f68bfee9044ba783d1c3fc10f5f7650c
treed741016e8840a1173a6786a05eb259bfaec076b3
parent7d303dea7dfcdcf488f879a71f7061b6c2f6620c
lxc-fedora.in: Fix fetching of the fedora-release rpm

The hardcoded URL seems to be broken and 404 error was not
checked. Now the mirror is selected from mirrorlist (instead of
hardcoding to funet.fi) and fetch errors are checked.

Also added a retry loop (with 3 tries) to find a working mirror, since
some of the mirrors are not OK.

Signed-off-by: Tuomas Suutari <tuomas.suutari@gmail.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
templates/lxc-fedora.in