fix append variable usage for esxi5 deployment

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9390 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2011-04-22 19:11:23 +00:00
parent c908e66f62
commit ad1794a25c

View File

@ -3968,6 +3968,7 @@ sub mknetboot {
my $tp = "xcat/netboot/$osver/$arch/$shortprofname";
my $kernel;
my $kcmdline;
my $append;
if ($osver =~ /esxi4/) {
my $bail=0;
foreach (@reqmods) {
@ -3983,7 +3984,7 @@ sub mknetboot {
$kernel = "$tp/mboot.c32";
my $prepend = "$tp/vmkboot.gz";
delete $mods{"vmkboot.gz"};
my $append = " --- $tp/vmk.gz";
$append = " --- $tp/vmk.gz";
delete $mods{"vmk.gz"};
$append .= " --- $tp/sys.vgz";
delete $mods{"sys.vgz"};
@ -4010,7 +4011,7 @@ sub mknetboot {
}
elsif ($osver =~ /esxi5/) { #do a more straightforward thing..
$kernel = "$tp/mboot.c32";
$kcmdline = "-c $tp/boot.cfg.stateless";
$append = "-c $tp/boot.cfg.stateless";
}
$output_handler->({node=>[{name=>[$node],'_addkcmdlinehandled'=>[1]}]});