xcatconfig -m only sets group=__mgmtnode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13836 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
dfb8898ec2
commit
27c94dec21
@ -2019,7 +2019,7 @@ sub cleanupPSTable
|
||||
|
||||
=head3 setupMNinDB
|
||||
|
||||
Will add the management node to the database with group=mn and nodetype=mn
|
||||
Will add the management node to the database with group=__mgmtnode
|
||||
|
||||
|
||||
=cut
|
||||
@ -2030,7 +2030,7 @@ sub setupMNinDB
|
||||
my $mnname = `hostname`;
|
||||
chomp $mnname;
|
||||
$mnname && $mnname =~ s/\..*//; # strip off domain
|
||||
my $chtabcmds = "$::XCATROOT/sbin/chtab node=$mnname nodelist.groups=__mgmtnode nodetype.nodetype=mn;";
|
||||
my $chtabcmds = "$::XCATROOT/sbin/chtab node=$mnname nodelist.groups=__mgmtnode;";
|
||||
my $outref = xCAT::Utils->runcmd("$chtabcmds", 0);
|
||||
if ($::RUNCMD_RC != 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user