]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc-debian: don't hardcode valid releases 1880/head
authorAntonio Terceiro <terceiro@debian.org>
Sat, 28 Oct 2017 11:20:35 +0000 (09:20 -0200)
committerAntonio Terceiro <terceiro@debian.org>
Sat, 28 Oct 2017 12:32:12 +0000 (10:32 -0200)
commitdba285d5dfa7e9f3452dc180e64158d9bedfb410
tree48fceeaec2ddd14c57a5dc05992b2d9b8de79bb2
parentc99055ea6d64e003b489e01a0379275699c794d0
lxc-debian: don't hardcode valid releases

This avoids the dance of updating the list of valid releases every time
Debian makes a new release.

It also fixes the following bug: even though lxc-debian will default to
creating containers of the latest stable by querying the archive, it
won't allow you to explicitly request `stable` because the current list
of valid releases don't include it.

Last, but not least, avoid hitting the mirror in the case the desired
release is one of the ones we know will always be there, i.e. stable,
testing, sid, and unstable.

Signed-off-by: Antonio Terceiro <terceiro@debian.org>
templates/lxc-debian.in