From 7e20ea8c48a04b60efca65fa9c3eb08c58df911d Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 5 May 2008 15:41:47 +0000 Subject: [PATCH] -Fix problem where iscsiboot didn't set up bootparams correctly git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1275 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server-2.0/lib/xcat/plugins/destiny.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server-2.0/lib/xcat/plugins/destiny.pm b/xCAT-server-2.0/lib/xcat/plugins/destiny.pm index 6ec1b8410..2cf65cb9b 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/destiny.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/destiny.pm @@ -54,7 +54,7 @@ sub setdestiny { unless ($iscsitab) { $callback->({error=>"Unable to open iscsi table to get iscsiboot parameters",errorcode=>[1]}); } - my $noderestab = xCAT::Table->new('noderes'); + my $bptab = xCAT::Table->new('bootparams'); foreach (@{$req->{node}}) { my $ient = $iscsitab->getNodeAttribs($_,[qw(kernel kcmdline initrd)]); unless ($ient and $ient->{kernel}) { @@ -65,7 +65,7 @@ sub setdestiny { $hash->{kernel} = $ient->{kernel}; if ($ient->{initrd}) { $hash->{initrd} = $ient->{initrd} } if ($ient->{kcmdline}) { $hash->{kcmdline} = $ient->{kcmdline} } - $noderestab->setNodeAttribs($_,$hash); + $bptab->setNodeAttribs($_,$hash); } } elsif ($state =~ /^install$/ or $state eq "install" or $state eq "netboot") { chomp($state);