On latest AIX, the key format in the ssh key file has been changed. There is no '= ' before the key. So remove it when mapping the keys.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9762 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -408,7 +408,7 @@ sub sshcfg { | ||||
|         # Find logon in key file  | ||||
|         ################################# | ||||
|         foreach ( @$result ) { | ||||
|             if ( /= $logon$/ ) { | ||||
|             if ( /$logon$/ ) { | ||||
|                 return( [[$server,"enabled",SUCCESS]] ); | ||||
|             } | ||||
|         } | ||||
|   | ||||
| @@ -966,7 +966,7 @@ sub mkauthkeys { | ||||
|         # When adding, remove old keys first | ||||
|         ##################################### | ||||
|         foreach ( @$result ) { | ||||
|             unless ( /= $logon$/ ) { | ||||
|             unless ( /$logon$/ ) { | ||||
|                 push @authkey, $_; | ||||
|             } | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user