Fix problem where group membership at startup hounded xCAT commands eternally
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12740 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
704ef6932c
commit
d799735f35
@ -243,6 +243,7 @@ sub expandatom { #TODO: implement table selection as an atom (nodetype.os==rhels
|
||||
{
|
||||
unless (scalar %allgrphash and (time() < ($allgrphashstamp+5))) { #build a group membership cache
|
||||
$allgrphashstamp=time();
|
||||
%allgrphash=();
|
||||
my $nlent;
|
||||
foreach $nlent (@allnodeset) {
|
||||
my @groups=split(/,/,$nlent->{groups});
|
||||
|
Loading…
Reference in New Issue
Block a user