]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
debian: Add buster as a valid release
authorStéphane Graber <stgraber@ubuntu.com>
Mon, 7 Aug 2017 21:49:40 +0000 (17:49 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 17 Aug 2017 19:37:01 +0000 (15:37 -0400)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
templates/lxc-debian.in

index 14bb8623876f277d96a9307bd04ba2da450fd39a..a7528c0f517feb1a12cb1881113ca5611a3db843 100644 (file)
@@ -481,7 +481,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: wheezy, jessie, stretch, sid.
+  -r, --release=RELEASE  Debian release. Can be one of: wheezy, jessie, stretch, buster, sid.
                          Defaults to current stable.
   --mirror=MIRROR        Debian mirror to use during installation. Overrides the MIRROR
                          environment variable (see below).
@@ -589,7 +589,7 @@ fi
 
 current_release=`wget ${MIRROR}/dists/stable/Release -O - 2> /dev/null | head |awk '/^Codename: (.*)$/ { print $2; }'`
 release=${release:-${current_release}}
-valid_releases=('wheezy' 'jessie' 'stretch' 'sid')
+valid_releases=('wheezy' 'jessie' 'stretch' 'buster' 'sid')
 if [[ ! "${valid_releases[*]}" =~ (^|[^[:alpha:]])$release([^[:alpha:]]|$) ]]; then
     echo "Invalid release ${release}, valid ones are: ${valid_releases[*]}"
     exit 1