mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-29 02:15:34 +00:00 
			
		
		
		
	fix bug 3562:"rspconfig cmm USERID=<password>" doesn't update password properly for existing hdwr connection
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16233 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -4986,7 +4986,7 @@ sub passwd { | ||||
|             } elsif ($res =~ /The hdwr_svr daemon is not currently running/i) { | ||||
|                 return ([1, "Update password for 'hdwr_svr' failed because the 'hdwr_svr' daemon is not currently running. Please recreate the connections between blades and hdwr_svr."]); | ||||
|             } | ||||
|             my $hws_cmd = "$fsp_api -a reset_hws_pw -u $user -p $oldpass -P $pass -T 0 -t 0:$$att[3]:$$att[0]:$node_name: 2>&1"; | ||||
|             my $hws_cmd = "$fsp_api -a reset_hws_pw -u HMC -p $oldpass -P $pass -T 0 -t 0:$$att[3]:$$att[0]:$node_name: 2>&1"; | ||||
|             #print "===>set_hws_cmd=$hws_cmd\n"; | ||||
|  | ||||
|             $res = xCAT::Utils->runcmd($hws_cmd, -1); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user