Fix NIM group creation. Needed to set grouptype.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1141 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
2ba8b9f800
commit
d8d5eec409
@ -511,6 +511,8 @@ sub x2n
|
||||
|
||||
# create a NIM machine definition
|
||||
if ($::objtype{$objname} eq 'node') {
|
||||
# need to set group type to either static or dynamic
|
||||
$::objhash{$objname}{'grouptype'}='static';
|
||||
if (mkclientdef($objname)) {
|
||||
# could not create client definition
|
||||
$error++;
|
||||
@ -1155,6 +1157,9 @@ sub check_nim_group
|
||||
{
|
||||
my ($group, $servnode) = @_;
|
||||
my ($cmd, @output);
|
||||
|
||||
chomp $::local_host;
|
||||
chomp $servnode;
|
||||
|
||||
if ( $::NIMGroupList{$servnode}) {
|
||||
@GroupList = @{$::NIMGroupList{$servnode}};
|
||||
|
Loading…
Reference in New Issue
Block a user