From aca745a4cb58787154e51a9ee019dbe0fdf2d135 Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Thu, 4 Feb 2010 08:32:52 +0000 Subject: [PATCH] Part of class ready feature git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5140 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/perl/xCAT/PPC.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/perl/xCAT/PPC.pm b/xCAT-server/lib/perl/xCAT/PPC.pm index 477e92f6f..b0624c5cd 100644 --- a/xCAT-server/lib/perl/xCAT/PPC.pm +++ b/xCAT-server/lib/perl/xCAT/PPC.pm @@ -1568,7 +1568,7 @@ sub sshcmds_on_hmc ################################ # Get userid and password ################################ - my @cred = xCAT::PPCdb::credentials( $individual_ip, "hmc" ); + my @cred = ($target_dev->{'username'},$target_dev->{'password'}); $request{$individual_ip}{cred} = \@cred; @exp = xCAT::PPCcli::connect( \%request, 'hmc', $individual_ip); @@ -1652,7 +1652,7 @@ sub updconf_in_asm ################################ # Get userid and password ################################ - my @cred = xCAT::PPCdb::credentials( $individual_ip, lc($target_dev->{'type'})); + my @cred = ($target_dev->{'username'},$target_dev->{'password'}); $request{$individual_ip}{cred} = \@cred; $request{node} = [$individual_ip];