Ensure even pickier password complexity rules are satsified by our random passwords

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11393 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-01-18 19:43:02 +00:00
parent 0284a0813f
commit c8105a2349

View File

@ -111,7 +111,7 @@ sub process_request {
}
$tmphash=($sitetable->getAttribs({key=>'genpasswords'},'value'))[0];
if ($tmphash->{value} eq "1" or $tmphash->{value} =~ /y(es)?/i) {
$password = genpassword(8)."1c";
$password = genpassword(10)."1cA!";
$gennedpassword=1;
$tmphash=$ipmitable->getNodeAttribs($node,['bmc','username','bmcport']);
} else {