Fix mistake in slpdiscover.pm

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13353 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-07-26 18:59:08 +00:00
parent df23c21198
commit b582f177f6

View File

@ -258,10 +258,10 @@ sub setup_cmm_pass {
my $localpass=$defaultbladepass;
if ($mpahash->{$nodename}) {
if ($mpahash->{$nodename}->{username}) {
$localuser = $mpahash->{$nodename}->[0]->{username};
$localuser = $mpahash->{$nodename}->{username};
}
if ($mpahash->{$nodename}->{password}) {
$localuser = $mpahash->{$nodename}->[0]->{password};
$localpass = $mpahash->{$nodename}->{password};
}
}
$passwordmap{$nodename}->{username}=$localuser;