Do not put node in "all" group of the group selected is "all"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11566 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -228,7 +228,12 @@ sub provzlinux { | ||||
|  | ||||
| 	# Set node definitions | ||||
| 	# Also put node into all group | ||||
| 	$out = `mkdef -t node -o $node userid=$userid hcp=$hcp mgt=zvm groups=$group,all`; | ||||
| 	if ($group eq 'all') { | ||||
| 		$out = `mkdef -t node -o $node userid=$userid hcp=$hcp mgt=zvm groups=$group`; | ||||
| 	} else { | ||||
| 		# Put node in all group | ||||
| 		$out = `mkdef -t node -o $node userid=$userid hcp=$hcp mgt=zvm groups=$group,all`; | ||||
| 	}	 | ||||
| 	println( $callback, "$out" ); | ||||
|  | ||||
| 	# Set nodetype definitions | ||||
|   | ||||
		Reference in New Issue
	
	Block a user