my $kernel;
+ # TODO: That's not going to work with CentOS, there will not be a firmware in the $d_i/ dir
foreach my $fp (keys %{ $ho->{Flags} }) {
$fp =~ s/^need-firmware-deb-// or next;
my $cpio= "$ho->{Tftp}{Path}/$d_i/$fp.cpio.gz";
}
}
+ # TODO: That may not work with CentOS
di_special_kernel($ho, sub {
my ($kp, $tp, $k, $cpio) = @_;
$kernel = $k if defined $k;
my $ipappend = 2;
my $wantphysif= get_host_property($ho,'interface force','auto');
logm("Forcing interface $wantphysif");
+ # That's debian specifix and may not work with CentOS
+ # TODO: move to Debian.pm
if ($wantphysif ne 'auto') {
$ipappend = 0;
die "need Ether for $ho->{Name} ($wantphysif)"
my %xopts;
+ # TODO: Will not work with CentOS
di_special_kernel($ho, sub {
my ($kp,$tp,$k,$c) = @_;
$xopts{dtbs} = "/$d_i/$kp-dtbs"