]> git.proxmox.com Git - pve-container.git/commitdiff
setup: fedora: support up to Fedora 40 for future proofing
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 8 Jun 2023 09:38:11 +0000 (11:38 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 8 Jun 2023 09:38:13 +0000 (11:38 +0200)
We might want to make this actually open ended, or just warn for
best-effort if above our tested range..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/LXC/Setup/Fedora.pm

index 021a44ac926e0397216cb61971b0ee50a4d46507..17ae7da36a259b9f77cecfb1172879bdbf82bd35 100644 (file)
@@ -11,7 +11,7 @@ sub new {
     my ($class, $conf, $rootdir, $os_release) = @_;
 
     my $version = $os_release->{VERSION_ID};
-    die "unsupported Fedora release '$version'\n" if !($version >= 22 && $version <= 38);
+    die "unsupported Fedora release '$version'\n" if !($version >= 22 && $version <= 40);
 
     my $self = { conf => $conf, rootdir => $rootdir, version => $version };