]> git.proxmox.com Git - pve-container.git/commitdiff
setup: debian: add preliminary support for Debian 12 Bookworm
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 9 Feb 2021 09:19:52 +0000 (10:19 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 9 Feb 2021 09:19:52 +0000 (10:19 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/LXC/Setup/Debian.pm

index 265e2a5031cbf1e4f64159ec41607b690311c5c2..ed159a64c6feb3d782101e194c208627ef805f48 100644 (file)
@@ -12,6 +12,7 @@ use PVE::LXC::Setup::Base;
 
 use base qw(PVE::LXC::Setup::Base);
 
+
 sub new {
     my ($class, $conf, $rootdir) = @_;
 
@@ -24,6 +25,7 @@ sub new {
        'stretch/sid' => 9.1,
        'buster/sid' => 10,
        'bullseye/sid' => 11,
+       'bookworm/sid' => 12,
        'kali-rolling' => 11,
     };
     $version = $version_map->{$version} if exists($version_map->{$version});
@@ -34,7 +36,7 @@ sub new {
     $version = $1;
 
     die "unsupported debian version '$version'\n"
-       if !($version >= 4 && $version <= 11);
+       if !($version >= 4 && $version <= 12);
 
     my $self = { conf => $conf, rootdir => $rootdir, version => $version };