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:
parent
0284a0813f
commit
c8105a2349
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user