[pve-devel] [PATCH container] allow fedora 33 container

Oguz Bektas o.bektas at proxmox.com
Mon Nov 9 13:23:33 CET 2020


used template for testing:
https://uk.images.linuxcontainers.org/images/fedora/33/amd64/default/20201108_20:33/rootfs.tar.xz

unprivileged container - everything works as expected
privileged container - needs 'nesting=1' for network connection to work

Signed-off-by: Oguz Bektas <o.bektas at proxmox.com>
---
 src/PVE/LXC/Setup/Fedora.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/LXC/Setup/Fedora.pm b/src/PVE/LXC/Setup/Fedora.pm
index 3da120e..68d63b1 100644
--- a/src/PVE/LXC/Setup/Fedora.pm
+++ b/src/PVE/LXC/Setup/Fedora.pm
@@ -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 <= 32);
+    die "unsupported Fedora release '$version'\n" if !($version >= 22 && $version <= 33);
 
     my $self = { conf => $conf, rootdir => $rootdir, version => $version };
 
-- 
2.20.1





More information about the pve-devel mailing list