diff --git a/installer/opengnsys_git_installer.py b/installer/opengnsys_git_installer.py index cffe3fb..5c4efd8 100755 --- a/installer/opengnsys_git_installer.py +++ b/installer/opengnsys_git_installer.py @@ -27,6 +27,7 @@ import time import requests import tempfile import hashlib +import datetime #FORGEJO_VERSION="8.0.3" FORGEJO_VERSION="9.0.0" @@ -463,7 +464,9 @@ class OpengnsysGitInstaller: self.__logger.info("Updated initrd %s", client_initrd_path) - self.add_forgejo_sshkey(oglive_public_key, "Key for " + ogclient) + timestamp = '{:%Y-%m-%d %H:%M:%S}'.format(datetime.datetime.now()) + + self.add_forgejo_sshkey(oglive_public_key, f"Key for {ogclient} ({timestamp})") def install(self): """Instalar