]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc-debian: don't hardcode valid releases
authorAntonio Terceiro <terceiro@debian.org>
Sat, 28 Oct 2017 11:20:35 +0000 (09:20 -0200)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 16 Nov 2017 21:46:49 +0000 (16:46 -0500)
commit3f7e039851705293be394b8fc5939f71c07fab0b
treeab4a9c70b06eb542c2229d8d5934e29eaeda7d16
parenta6b81a7d1d946f0116c2564e44b558c72db88215
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