fix for bug 3523412: makeconservercf noderange does not work

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12521 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2012-05-04 06:28:41 +00:00
parent 0e1efe855e
commit 0e095151f0

View File

@ -305,7 +305,7 @@ sub makeconservercf {
my $hmtab = xCAT::Table->new('nodehm');
my @cfgents1;# = $hmtab->getAllNodeAttribs(['cons','serialport','mgt','conserver','termserver','termport']);
if (($nodes and @$nodes > 0) or $req->{noderange}->[0]) {
@cfgents1 = $hmtab->getNodesAttribs($nodes,['cons','serialport','mgt','conserver','termserver','termport']);
@cfgents1 = $hmtab->getNodesAttribs($nodes,['node','cons','serialport','mgt','conserver','termserver','termport']);
#to make the result consistent to getAllNodeAttribs
my @tmpcfgents1;
foreach my $ent (@cfgents1)