]> git.proxmox.com Git - dab.git/commitdiff
add preliminary support for Ubuntu 21.10 Impish Indri
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 14 Jul 2021 15:41:09 +0000 (17:41 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 14 Jul 2021 15:41:09 +0000 (17:41 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
DAB.pm

diff --git a/DAB.pm b/DAB.pm
index c540237b106d4da5f1b732856fbb5ddaf2aa7233..b81321eedf85df8d70a3d4c8e72299a5ad50ac6d 100644 (file)
--- a/DAB.pm
+++ b/DAB.pm
@@ -177,6 +177,10 @@ my $supported_suites = {
        ostype => "ubuntu-21.04",
        origin => 'ubuntu',
     },
+    'impish' => {
+       ostype => "ubuntu-21.10",
+       origin => 'ubuntu',
+    },
 };
 
 sub get_suite_info {
@@ -571,7 +575,7 @@ sub new {
        $suite eq 'yakkety' || $suite eq 'zesty' || $suite eq 'artful' ||
        $suite eq 'bionic' || $suite eq 'cosmic' || $suite eq 'disco' ||
        $suite eq 'eoan' || $suite eq 'focal' || $suite eq 'groovy'
-       || $suite eq 'hirsute'
+       || $suite eq 'hirsute' || $suite eq 'impish'
     ) {
        push @$incl, 'isc-dhcp-client';
        push @$excl, qw(libmodule-build-perl);
@@ -1309,7 +1313,7 @@ sub install_init_script {
             $suite eq 'yakkety' || $suite eq 'zesty' || $suite eq 'artful' ||
             $suite eq 'bionic' || $suite eq 'cosmic' || $suite eq 'disco' ||
             $suite eq 'eoan' || $suite eq 'focal' || $suite eq 'groovy'
-            || $suite eq 'hirsute'
+            || $suite eq 'hirsute' || $suite eq 'impish'
     ) {
        die "unable to install init script (system uses systemd)\n";
     } elsif ($suite eq 'trusty' || $suite eq 'precise') {
@@ -1430,6 +1434,7 @@ sub bootstrap {
     write_file ("", "$rootdir/etc/resolv.conf", 0644);
 
     if (
+       $suite eq 'impish' ||
        $suite eq 'hirsute' || $suite eq 'groovy' || $suite eq 'focal' ||
        $suite eq 'eoan' || $suite eq 'disco' || $suite eq 'cosmic' ||
        $suite eq 'bionic' || $suite eq 'artful' ||