for bug 3510200: only don't user HMC

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@11958 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
zhaoertao 2012-03-23 09:35:59 +00:00
parent 1dfaa46360
commit ddf0b1ae4c

View File

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