lxc-debian: Add oldstable and oldoldstable to permanent releases

Signed-off-by: Arnaud Rebillout <arnaudr@debian.org>
This commit is contained in:
Arnaud Rebillout
2026-03-11 23:13:08 +07:00
committed by Arnaud Rebillout
parent 0d0ae9f09e
commit e21dc0318b
+1 -1
View File
@@ -888,7 +888,7 @@ if [ -n "$authkey" ]; then
fi fi
release=${release:-stable} release=${release:-stable}
permanent_releases=('stable' 'testing' 'sid' 'unstable') permanent_releases=('oldoldstable' 'oldstable' 'stable' 'testing' 'sid' 'unstable')
if [[ ! "${permanent_releases[*]}" =~ (^|[^[:alpha:]])$release([^[:alpha:]]|$) ]]; then if [[ ! "${permanent_releases[*]}" =~ (^|[^[:alpha:]])$release([^[:alpha:]]|$) ]]; then
if ! release_info "${MIRROR}"; then if ! release_info "${MIRROR}"; then
echo "Invalid release ${release} (not found in mirror)" echo "Invalid release ${release} (not found in mirror)"