This squashes the installers messages about not being able to find kernel
module udebs in the archive for the kernel running the installer. This will
likely be the case if the need-kernel-deb-foo flag is used (perhaps this
functionality could be keyed off this instead?)
(join ' && ', @{ $preseed_cmds{$di_key} }). "\n";
}
+ if ($ho->{Flags}{'no-di-kernel'}) {
+ $preseed_file .= <<END;
+d-i anna/no_kernel_modules boolean true
+d-i base-installer/kernel/skip-install boolean true
+d-i nobootloader/confirmation_common boolean true
+END
+ }
+
$preseed_file .= "$c{DebianPreseed}\n";
foreach my $name (keys %{ $xopts{Properties} }) {