use getNodeAttribs instead of getAttribs for statelite.mntopts to handle nodegroups in statelite.node

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10409 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
mellor 2011-08-31 13:00:18 +00:00
parent 592a67639c
commit 7c89d073b0
2 changed files with 2 additions and 2 deletions

View File

@ -753,7 +753,7 @@ sub mknetboot
if($statelite)
{
my $statelitetb = xCAT::Table->new('statelite');
my $mntopts = $statelitetb->getAttribs({node => $node}, 'mntopts');
my $mntopts = $statelitetb->getNodeAttribs($node, ['mntopts']);
my $mntoptions = $mntopts->{'mntopts'};
unless (defined($mntoptions))

View File

@ -486,7 +486,7 @@ sub mknetboot
if($statelite)
{
my $statelitetb = xCAT::Table->new('statelite');
my $mntopts = $statelitetb->getAttribs({node => $node}, 'mntopts');
my $mntopts = $statelitetb->getNodeAttribs($node, ['mntopts']);
my $mntoptions = $mntopts->{'mntopts'};
if(defined($mntoptions))