Should someone decide to switch from generated to static password on vm(s), remove expiry if present
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16342 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
01ab6d41ea
commit
07da4182ab
@ -765,6 +765,7 @@ sub getcons {
|
||||
my $tpasswd;
|
||||
if ($confdata->{vm}->{$node}->[0]->{vidpassword}) {
|
||||
$tpasswd=$confdata->{vm}->{$node}->[0]->{vidpassword};
|
||||
$graphicsnode->removeAttribute("passwdValidTo");
|
||||
} else {
|
||||
$tpasswd=genpassword(16);
|
||||
my $validto=POSIX::strftime("%Y-%m-%dT%H:%M:%S",gmtime(time()+60));
|
||||
|
Loading…
Reference in New Issue
Block a user