From b582f177f6e1729e8531b832511b49b590a5e402 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 26 Jul 2012 18:59:08 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/slpdiscover.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/slpdiscover.pm b/xCAT-server/lib/xcat/plugins/slpdiscover.pm index 980038a98..f2b9b3473 100644 --- a/xCAT-server/lib/xcat/plugins/slpdiscover.pm +++ b/xCAT-server/lib/xcat/plugins/slpdiscover.pm @@ -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;