mirror of
https://git.proxmox.com/git/dab
synced 2025-10-04 09:48:59 +00:00
add basic support for Ubuntu 20.10 Groovy Gorilla
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
f06fe8dc8f
commit
44afd0f42b
11
DAB.pm
11
DAB.pm
@ -163,6 +163,10 @@ my $supported_suites = {
|
||||
ostype => "ubuntu-20.04",
|
||||
origin => 'ubuntu',
|
||||
},
|
||||
'groovy' => {
|
||||
ostype => "ubuntu-20.10",
|
||||
origin => 'ubuntu',
|
||||
},
|
||||
};
|
||||
|
||||
sub get_suite_info {
|
||||
@ -556,7 +560,7 @@ sub new {
|
||||
if ($suite eq 'vivid' || $suite eq 'wily' || $suite eq 'xenial' ||
|
||||
$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 'eoan' || $suite eq 'focal' || $suite eq 'groovy') {
|
||||
push @$incl, 'isc-dhcp-client';
|
||||
push @$excl, qw(libmodule-build-perl);
|
||||
} elsif ($suite eq 'trusty') {
|
||||
@ -1275,7 +1279,7 @@ sub install_init_script {
|
||||
} elsif ($suite eq 'xenial' || $suite eq 'wily' || $suite eq 'vivid' ||
|
||||
$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 'eoan' || $suite eq 'focal' || $suite eq 'groovy') {
|
||||
die "unable to install init script (system uses systemd)\n";
|
||||
} elsif ($suite eq 'trusty' || $suite eq 'precise') {
|
||||
die "unable to install init script (system uses upstart)\n";
|
||||
@ -1394,7 +1398,8 @@ sub bootstrap {
|
||||
# avoid warnings about non-existent resolv.conf
|
||||
write_file ("", "$rootdir/etc/resolv.conf", 0644);
|
||||
|
||||
if ($suite eq 'focal' || $suite eq 'eoan' || $suite eq 'disco' || $suite eq 'cosmic' ||
|
||||
if ($suite eq 'groovy' || $suite eq 'focal' ||
|
||||
$suite eq 'eoan' || $suite eq 'disco' || $suite eq 'cosmic' ||
|
||||
$suite eq 'bionic' || $suite eq 'artful' ||
|
||||
$suite eq 'zesty' || $suite eq 'yakkety' || $suite eq 'xenial' ||
|
||||
$suite eq 'wily') {
|
||||
|
Loading…
Reference in New Issue
Block a user