]> git.proxmox.com Git - pve-container.git/commitdiff
add support for openSUSE Leap 15.0
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 3 Aug 2018 12:00:48 +0000 (14:00 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 Aug 2018 09:42:09 +0000 (11:42 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/LXC/Setup.pm
src/PVE/LXC/Setup/SUSE.pm

index ea0d4150cb6c7ddef3f1a411c4f244556d64361d..1b89f28b6165509aff43b6bdcb39538741614bcf 100644 (file)
@@ -31,6 +31,7 @@ my $plugins = {
 my $plugin_alias = {
     arch => 'archlinux',
     sles => 'opensuse',
+    'opensuse-leap' => 'opensuse',
 };
 
 my $autodetect_type = sub {
index 6e83c361e5f91f5f2f53e94958d48cda819e8da9..e5ee7522a3e5dd3355d37db9e815eb9cb4c5e6a4 100644 (file)
@@ -25,6 +25,9 @@ sub new {
        } elsif ($ostype eq 'sles' && $major == 12) {
            # OK - shares base with LEAP (42)
            $setup_ct_getty_service = 1;
+       } elsif ($major == 15) {
+           # OK for SLES and openSUSE Leap, see: https://lwn.net/Articles/720924/
+           $setup_ct_getty_service = 1;
        } else {
            die "unsupported suse release '$version'\n";
        }