]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
update Debian release names
authorEvgeni Golov <evgeni@golov.de>
Wed, 30 Mar 2016 20:50:48 +0000 (22:50 +0200)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 17 Nov 2016 23:07:29 +0000 (18:07 -0500)
Squeeze is EOL now, Stretch is the upcoming stable

Signed-off-by: Evgeni Golov <evgeni@golov.de>
templates/lxc-debian.in

index f874bc9e90e4ae016866fefff540596e48e8f70d..6ee37f5728aa04c3cdda8996073145f2c0a7fd54 100644 (file)
@@ -475,7 +475,7 @@ Options :
   -p, --path=PATH        directory where config and rootfs of this VM will be kept
   -a, --arch=ARCH        The container architecture. Can be one of: i686, x86_64,
                          amd64, armhf, armel, powerpc. Defaults to host arch.
-  -r, --release=RELEASE  Debian release. Can be one of: squeeze, wheezy, jessie, sid.
+  -r, --release=RELEASE  Debian release. Can be one of: wheezy, jessie, stretch, sid.
                          Defaults to current stable.
   --mirror=MIRROR        Debian mirror to use during installation. Overrides the MIRROR
                          environment variable (see below).
@@ -577,7 +577,7 @@ fi
 
 current_release=`wget ${MIRROR}/dists/stable/Release -O - 2> /dev/null | head |awk '/^Codename: (.*)$/ { print $2; }'`
 release=${release:-${current_release}}
-valid_releases=('squeeze' 'wheezy' 'jessie' 'stretch' 'sid')
+valid_releases=('wheezy' 'jessie' 'stretch' 'sid')
 if [[ ! "${valid_releases[*]}" =~ (^|[^[:alpha:]])$release([^[:alpha:]]|$) ]]; then
     echo "Invalid release ${release}, valid ones are: ${valid_releases[*]}"
     exit 1