change MN group to __mgmtnode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13745 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
39e43e0b40
commit
45edd600c4
@ -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=mn nodetype.nodetype=mn;";
|
||||
my $chtabcmds = "$::XCATROOT/sbin/chtab node=$mnname nodelist.groups=__mgmtnode nodetype.nodetype=mn;";
|
||||
my $outref = xCAT::Utils->runcmd("$chtabcmds", 0);
|
||||
if ($::RUNCMD_RC != 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user