remove the checking of netdrviers so that geninitrd could handle the kernel,initrd copying to /tftpboot for general osimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16967 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
6b26f84cf9
commit
9f8a9efc4b
@ -84,8 +84,8 @@ sub geninitrd {
|
||||
}
|
||||
|
||||
my $lient = $linuximagetab->getAttribs({imagename => $osimage}, 'pkgdir', 'driverupdatesrc', 'netdrivers');
|
||||
unless ($lient && $lient->{'pkgdir'} && $lient->{'netdrivers'}) {
|
||||
xCAT::MsgUtils->message("E", {error=>["The osimage [$osimage] was not defined or [pkgdir, netdrivers] attribute was not set."], errorcode=>["1"]}, $callback);
|
||||
unless ($lient && $lient->{'pkgdir'}) {
|
||||
xCAT::MsgUtils->message("E", {error=>["The osimage [$osimage] was not defined or [pkgdir] attribute was not set."], errorcode=>["1"]}, $callback);
|
||||
return;
|
||||
}
|
||||
$pkgdir = $lient->{'pkgdir'};
|
||||
|
Loading…
Reference in New Issue
Block a user