From 36fc7fca02b6931ccf013b0a66ceed0b974439f7 Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Fri, 23 Mar 2012 09:35:08 +0000 Subject: [PATCH] for bug 3510200: only don't user HMC git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11957 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/blade.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/blade.pm b/xCAT-server/lib/xcat/plugins/blade.pm index 9c75fba53..030b8589b 100644 --- a/xCAT-server/lib/xcat/plugins/blade.pm +++ b/xCAT-server/lib/xcat/plugins/blade.pm @@ -3915,7 +3915,7 @@ sub process_request { my @user_array = $mpatab->getNodeAttribs($mpa, qw(username password)); foreach my $entry (@user_array) { if ($entry->{username}) { - if ($entry->{username} =~ /^USERID$/ or $entry->{username} !~ /^(HMC|general|admin)$/) { + if ($entry->{username} =~ /^USERID$/ or $entry->{username} !~ /^HMC$/) { $ent = $entry; last; }