From e1d28213ba3a34b7705bb61a4c35b5ebe5c71f5c Mon Sep 17 00:00:00 2001 From: phamt Date: Mon, 13 Feb 2012 20:56:12 +0000 Subject: [PATCH] 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 --- xCAT-UI/xcat/plugins/webportal.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/xCAT-UI/xcat/plugins/webportal.pm b/xCAT-UI/xcat/plugins/webportal.pm index 5dc57fab5..da583b574 100644 --- a/xCAT-UI/xcat/plugins/webportal.pm +++ b/xCAT-UI/xcat/plugins/webportal.pm @@ -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