]> git.proxmox.com Git - pve-container.git/commitdiff
fix #2147: re-add support for current opensuse tumbleweed
authorOguz Bektas <o.bektas@proxmox.com>
Fri, 29 Mar 2019 16:16:33 +0000 (17:16 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 29 Mar 2019 16:24:08 +0000 (17:24 +0100)
this enables opensuse-tumbleweed templates to be used in Proxmox VE
_again_. It was already supported but it seems that the os-release
backed ID changed and thus our distro detection code didn't detect it
anymore.

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@proxmox.com>
src/PVE/LXC/Setup.pm

index 90bbb859cfe5c65123c3baa7917e319d583b1794..845aced57da12342dc16439412e8444c844681ca 100644 (file)
@@ -32,6 +32,7 @@ my $plugin_alias = {
     arch => 'archlinux',
     sles => 'opensuse',
     'opensuse-leap' => 'opensuse',
+    'opensuse-tumbleweed' => 'opensuse',
 };
 
 my $autodetect_type = sub {