fix processing when MN in database and has multiple groups defined
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14244 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -3070,7 +3070,8 @@ sub noderangecontainsMn | ||||
|  my @nodelist=$tab->getAllNodeAttribs(['node','groups']); | ||||
|  foreach my $n (@nodelist) { | ||||
|   if (defined($n->{'groups'})) { | ||||
|    if ($n->{'groups'} eq "__mgmtnode") {  # this is the MN | ||||
|    my @groups=split(",",$n->{'groups'}); | ||||
|    if ((grep (/__mgmtnode/,@groups))) {  # this is the MN | ||||
|       $mname=$n->{'node'}; | ||||
|       last; | ||||
|    } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user