mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-09-06 18:28:16 +00:00
Set community to public in moncfg for now
This commit is contained in:
@@ -535,8 +535,8 @@ sub configBMC {
|
||||
$ret_val = 1;
|
||||
$ret_text .= "Converting to IP: $ptmp->[1]\n";
|
||||
} else {
|
||||
print "XCATBYPASS=Y rspconfig $nr2 snmpdest=$ptmp->[1]\n";
|
||||
my $result2 = `XCATBYPASS=Y rspconfig $nr2 snmpdest=$ptmp->[1] 2>&1`;
|
||||
print "XCATBYPASS=Y rspconfig $nr2 snmpdest=$ptmp->[1] community=public\n";
|
||||
my $result2 = `XCATBYPASS=Y rspconfig $nr2 snmpdest=$ptmp->[1] community=public 2>&1`;
|
||||
if ($?) {
|
||||
$ret_val = 1;
|
||||
xCAT::MsgUtils->message('S', "[mon]: Changing SNMP destination for IPMI nodes $nr2:\n $result2\n");
|
||||
|
Reference in New Issue
Block a user