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:
parent
592a67639c
commit
7c89d073b0
@ -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))
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user