fixed the case that import sshkey failed,but no error message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12518 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -4728,6 +4728,8 @@ sub sshcfg {
 | 
			
		||||
      return([1,"Maximum number of SSH keys reached for this chassis"]);
 | 
			
		||||
    }
 | 
			
		||||
    return([1,$data[0]]);
 | 
			
		||||
  } elsif (! grep /OK/, @data) {
 | 
			
		||||
    return([1,$data[0]]);
 | 
			
		||||
  }
 | 
			
		||||
  # Enable ssh on MM
 | 
			
		||||
  @data = $t->cmd("ports -sshe on -T system:$mm");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user