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
This commit is contained in:
parent
5f4c465f97
commit
3a0121b97d
@ -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!";
|
||||
|
Loading…
Reference in New Issue
Block a user