Honor addkcmdline parameter in esxi5.x

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12535 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-05-04 21:02:45 +00:00
parent 84152575a0
commit e5bc9b43c7

View File

@ -4526,6 +4526,10 @@ sub mkcommonboot {
$append .= " -s ".$serialconfig->{$node}->[0]->{serialspeed}." com".$comport."_baud=".$serialconfig->{$node}->[0]->{serialspeed};
}
}
if (defined $bpadds->{$node}->[0]->{addkcmdline}) {
$append .= " ".$bpadds->{$node}->[0]->{addkcmdline};
$append =~ s/#NODEATTRIB:([^:#]+):([^:#]+)#/$nodesubdata{$1}->{$node}->[0]->{$2}/eg;
}
}
if ($shortappend) { #esxi5 user desiring to put everything in one boot config file. . .
merge_esxi5_append("$tftpdir/$tp/boot.cfg.$bootmode.tmpl",$append,"$tftpdir/$tp/boot.cfg.$bootmode.$node");