#222977 driver patch project

This commit is contained in:
yinqing 2013-09-26 14:38:04 +08:00
parent b892b556d3
commit 753183fc7d

View File

@ -143,6 +143,10 @@ sub process_request {
if($macflag)
{
if ($chainarray[0]){
if($chainarray[0] =~ m/^osimage=/)
{
$chainarray[0] = $chainarray[0] . " --noupdateinitrd";
}
push @commandslist, ['nodeset', $chainarray[0]];
}
}
@ -160,7 +164,7 @@ sub process_request {
}elsif ($command eq 'kitnodeupdate') {
my $firstnode = (@$nodelist)[0];
if (exists $profilehash{$firstnode}{"ImageProfile"}){
my $osimage = 'osimage='.$profilehash{$firstnode}{"ImageProfile"};
my $osimage = 'osimage='.$profilehash{$firstnode}{"ImageProfile"}.' --noupdateinitrd';
push @commandslist, ['nodeset', $osimage];
}
}