fix bug 3535388: FB 'snmpcfg=enable' doesn't truly work for the first time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13104 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -4146,6 +4146,10 @@ sub clicmds {
 | 
			
		||||
    $Rc |= shift(@$result);
 | 
			
		||||
    push @cfgtext,@$result;
 | 
			
		||||
  }
 | 
			
		||||
  # dealing with SNMP v3 disable in genesis state#
 | 
			
		||||
  if ($promote_pass ne $pass) {
 | 
			
		||||
    snmpcfg($t, 'disable', $user, $promote_pass, $mm);
 | 
			
		||||
  }
 | 
			
		||||
  if ($reset) {
 | 
			
		||||
    $t->cmd("reset -T system:$mm");
 | 
			
		||||
    push @data, "The management module has been reset to load the configuration";
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user