fix for a problem reported on mailing list, the node name can not be used in the dynamic node group selection string
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6417 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
ec4bec2e1c
commit
414e1bdbe9
@ -1778,6 +1778,12 @@ sub getGroupMembers
|
||||
my @whereattrs = keys %whereHash;
|
||||
my %nodeattrhash = xCAT::DBobjUtils->getobjdefs(\%tmphash, 0, \@whereattrs);
|
||||
|
||||
# The attribute 'node' can be used as a key of selection string,
|
||||
# however, the 'node' attribute is not included in the getobjdefs hash
|
||||
foreach my $objname (keys %nodeattrhash)
|
||||
{
|
||||
$nodeattrhash{$objname}{'node'} = $objname;
|
||||
}
|
||||
my $first = 1;
|
||||
foreach my $objname (keys %nodeattrhash)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user