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
This commit is contained in:
wanghuaz 2010-02-04 08:32:52 +00:00
parent 7f9e7022e1
commit aca745a4cb

View File

@ -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];