mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-30 19:02:27 +00:00 
			
		
		
		
	Shorten validity of temporary video tokens for KVM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9581 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -679,7 +679,7 @@ sub getcons { | ||||
|       my ($graphicsnode) = $parseddom->findnodes("//graphics"); | ||||
|        | ||||
|       my $tpasswd=genpassword(16); | ||||
|       my $validto=POSIX::strftime("%Y-%m-%dT%H:%M:%S",gmtime(time()+300)); | ||||
|       my $validto=POSIX::strftime("%Y-%m-%dT%H:%M:%S",gmtime(time()+60)); | ||||
|       $graphicsnode->setAttribute("passwd",$tpasswd); | ||||
|       $graphicsnode->setAttribute("passwdValidTo",$validto); | ||||
|       $dom->update_device($graphicsnode->toString()); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user