use HMC instead of hscroot in rcons through fsp-api

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5495 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2010-03-17 01:36:28 +00:00
parent 7e6511006d
commit be24083b6a

View File

@ -189,9 +189,9 @@ sub invoke_cmd {
my %objhash = ();
$objhash{$fsp_name} = "node";
my %myhash = xCAT::DBobjUtils->getobjdefs(\%objhash);
my $password = $myhash{$fsp_name}{"passwd.hscroot"};
my $password = $myhash{$fsp_name}{"passwd.HMC"};
if(!$password ) {
return "The password.hscroot of $fsp_name in ppcdirect table is empty";
return "The password.HMC of $fsp_name in ppcdirect table is empty";
}
my $username = "hscroot";