[pve-devel] [PATCH container] fix #2147: add support for opensuse tumbleweed

Oguz Bektas o.bektas at proxmox.com
Fri Mar 29 17:16:33 CET 2019


this enables opensuse-tumbleweed templates to be used in pve.

a few things didn't work properly in my tests, so some things to consider:
* (probably) because of network configuration issues, it takes a while
for the container to start fully (~30s on my setup)
* unprivileged containers (w/ and w/o nesting enabled) had no network
after starting, and needed to be enabled manually with ip addr and
route.
* privileged containers seemed to function normally, except the
startup delay

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

diff --git a/src/PVE/LXC/Setup.pm b/src/PVE/LXC/Setup.pm
index 90bbb85..845aced 100644
--- a/src/PVE/LXC/Setup.pm
+++ b/src/PVE/LXC/Setup.pm
@@ -32,6 +32,7 @@ my $plugin_alias = {
     arch => 'archlinux',
     sles => 'opensuse',
     'opensuse-leap' => 'opensuse',
+    'opensuse-tumbleweed' => 'opensuse',
 };
 
 my $autodetect_type = sub {
-- 
2.11.0





More information about the pve-devel mailing list