diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index 7301a339e..f63e9fe69 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -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)) diff --git a/xCAT-server/lib/xcat/plugins/sles.pm b/xCAT-server/lib/xcat/plugins/sles.pm index 8e34997bd..c580b1ac9 100644 --- a/xCAT-server/lib/xcat/plugins/sles.pm +++ b/xCAT-server/lib/xcat/plugins/sles.pm @@ -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))