From 3a0121b97d3849127d04bf42d290b6a33e96a62c Mon Sep 17 00:00:00 2001 From: jjhua Date: Wed, 23 May 2012 07:12:28 +0000 Subject: [PATCH] For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12903 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/bmcconfig.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/bmcconfig.pm b/xCAT-server/lib/xcat/plugins/bmcconfig.pm index cca06fe67..9f7f0e875 100644 --- a/xCAT-server/lib/xcat/plugins/bmcconfig.pm +++ b/xCAT-server/lib/xcat/plugins/bmcconfig.pm @@ -110,7 +110,7 @@ sub process_request { $password=$tmphash->{password}; } #$tmphash=($sitetable->getAttribs({key=>'genpasswords'},'value'))[0]; - my @entries = xCAT::Utils->get_site_attribute("blademaxp"); + my @entries = xCAT::Utils->get_site_attribute("genpasswords"); my $site_entry = $entries[0]; if ($site_entry eq "1" or $site_entry =~ /y(es)?/i) { $password = genpassword(10)."1cA!";