]> git.proxmox.com Git - pve-container.git/commitdiff
setup: support upcoming Debian, Devuan and Ubuntu releases
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 13 Jun 2023 15:49:18 +0000 (17:49 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 13 Jun 2023 15:49:18 +0000 (17:49 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/LXC/Setup/Debian.pm
src/PVE/LXC/Setup/Devuan.pm
src/PVE/LXC/Setup/Ubuntu.pm

index f0631e02e04ddcaaf923d04075258259dada1edc..76d336a12e69c3ad70c03bd4f0e37bc3105e3bbb 100644 (file)
@@ -26,7 +26,9 @@ sub new {
        'buster/sid' => 10,
        'bullseye/sid' => 11,
        'bookworm/sid' => 12,
-       'kali-rolling' => 11,
+       'trixie/sid' => 13,
+       'forky/sid' => 14,
+       'kali-rolling' => 12,
     };
     $version = $version_map->{$version} if exists($version_map->{$version});
 
@@ -35,8 +37,7 @@ sub new {
 
     $version = $1;
 
-    die "unsupported debian version '$version'\n"
-       if !($version >= 4 && $version <= 12);
+    die "unsupported debian version '$version'\n" if !($version >= 4 && $version <= 13);
 
     my $self = { conf => $conf, rootdir => $rootdir, version => $version };
 
index 59a768e48aaf34371e51d70359da42970627417a..7854f48237d06c080ad2e372c92caf7e0eefaf80 100644 (file)
@@ -27,6 +27,8 @@ sub new {
        'chimaera/ceres' => 11,
        'daedalus' => 12,
        'daedalus/ceres' => 12,
+       'excalibur' => 13,
+       'excalibur/ceres' => 13,
     };
     die "unsupported Devuan version '$version'\n" if !exists($version_map->{$version});
 
index 29dc6857b333ee6d29554825c00993babbd7385a..e61c0d547f5c72ac4143283a52dd5ff7f0b1c5d9 100644 (file)
@@ -12,9 +12,10 @@ use PVE::LXC::Setup::Debian;
 use base qw(PVE::LXC::Setup::Debian);
 
 my $known_versions = {
+    '23.10' => 1, # mantic
     '23.04' => 1, # lunar
     '22.10' => 1, # kinetic
-    '22.04' => 1, # jammy
+    '22.04' => 1, # jammy LTS
     '21.10' => 1, # impish
     '21.04' => 1, # hirsute
     '20.10' => 1, # groovy