From: Thomas Lamprecht Date: Tue, 9 Feb 2021 09:19:52 +0000 (+0100) Subject: setup: debian: add preliminary support for Debian 12 Bookworm X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=bba67195f6688f7588cea2eed84eff622a4aa02f;p=pve-container.git setup: debian: add preliminary support for Debian 12 Bookworm Signed-off-by: Thomas Lamprecht --- diff --git a/src/PVE/LXC/Setup/Debian.pm b/src/PVE/LXC/Setup/Debian.pm index 265e2a5..ed159a6 100644 --- a/src/PVE/LXC/Setup/Debian.pm +++ b/src/PVE/LXC/Setup/Debian.pm @@ -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 };