Improve logo output
This commit is contained in:
parent
17f81e8296
commit
786fae7769
|
@ -224,25 +224,25 @@ def entrypoint():
|
|||
|
||||
# Print our startup messages
|
||||
print("")
|
||||
print("|----------------------------------------------------------|")
|
||||
print("| |")
|
||||
print("| ███████████ ▜█▙ ▟█▛ █████ █ █ █ |")
|
||||
print("| ██ ▜█▙ ▟█▛ ██ |")
|
||||
print("| ███████████ ▜█▙ ▟█▛ ██ |")
|
||||
print("| ██ ▜█▙▟█▛ ███████████ |")
|
||||
print("| |")
|
||||
print("|----------------------------------------------------------|")
|
||||
print("| Parallel Virtual Cluster API daemon v{0: <19} |".format(version))
|
||||
print("| Debug: {0: <49} |".format(str(config["debug"])))
|
||||
print("| API version: v{0: <42} |".format(API_VERSION))
|
||||
print("|------------------------------------------------------------|")
|
||||
print("| |")
|
||||
print("| ███████████ ▜█▙ ▟█▛ █████ █ █ █ |")
|
||||
print("| ██ ▜█▙ ▟█▛ ██ |")
|
||||
print("| ███████████ ▜█▙ ▟█▛ ██ |")
|
||||
print("| ██ ▜█▙▟█▛ ███████████ |")
|
||||
print("| |")
|
||||
print("|------------------------------------------------------------|")
|
||||
print("| Parallel Virtual Cluster API daemon v{0: <21} |".format(version))
|
||||
print("| Debug: {0: <51} |".format(str(config["debug"])))
|
||||
print("| API version: v{0: <44} |".format(API_VERSION))
|
||||
print(
|
||||
"| Listen: {0: <48} |".format(
|
||||
"| Listen: {0: <50} |".format(
|
||||
"{}:{}".format(config["listen_address"], config["listen_port"])
|
||||
)
|
||||
)
|
||||
print("| SSL: {0: <51} |".format(str(config["ssl_enabled"])))
|
||||
print("| Authentication: {0: <40} |".format(str(config["auth_enabled"])))
|
||||
print("|----------------------------------------------------------|")
|
||||
print("| SSL: {0: <53} |".format(str(config["ssl_enabled"])))
|
||||
print("| Authentication: {0: <42} |".format(str(config["auth_enabled"])))
|
||||
print("|------------------------------------------------------------|")
|
||||
print("")
|
||||
|
||||
pvc_api.celery_startup()
|
||||
|
|
|
@ -78,26 +78,26 @@ def entrypoint():
|
|||
|
||||
# Print our startup message
|
||||
logger.out("")
|
||||
logger.out("|----------------------------------------------------------|")
|
||||
logger.out("| |")
|
||||
logger.out("| ███████████ ▜█▙ ▟█▛ █████ █ █ █ |")
|
||||
logger.out("| ██ ▜█▙ ▟█▛ ██ |")
|
||||
logger.out("| ███████████ ▜█▙ ▟█▛ ██ |")
|
||||
logger.out("| ██ ▜█▙▟█▛ ███████████ |")
|
||||
logger.out("| |")
|
||||
logger.out("|----------------------------------------------------------|")
|
||||
logger.out("| Parallel Virtual Cluster node daemon v{0: <18} |".format(version))
|
||||
logger.out("| Debug: {0: <49} |".format(str(config["debug"])))
|
||||
logger.out("| FQDN: {0: <50} |".format(config["node_fqdn"]))
|
||||
logger.out("| Host: {0: <50} |".format(config["node_hostname"]))
|
||||
logger.out("| ID: {0: <52} |".format(config["node_id"]))
|
||||
logger.out("| IPMI hostname: {0: <41} |".format(config["ipmi_hostname"]))
|
||||
logger.out("| Machine details: |")
|
||||
logger.out("| CPUs: {0: <48} |".format(config["static_data"][0]))
|
||||
logger.out("| Arch: {0: <48} |".format(config["static_data"][3]))
|
||||
logger.out("| OS: {0: <50} |".format(config["static_data"][2]))
|
||||
logger.out("| Kernel: {0: <46} |".format(config["static_data"][1]))
|
||||
logger.out("|----------------------------------------------------------|")
|
||||
logger.out("|------------------------------------------------------------|")
|
||||
logger.out("| |")
|
||||
logger.out("| ███████████ ▜█▙ ▟█▛ █████ █ █ █ |")
|
||||
logger.out("| ██ ▜█▙ ▟█▛ ██ |")
|
||||
logger.out("| ███████████ ▜█▙ ▟█▛ ██ |")
|
||||
logger.out("| ██ ▜█▙▟█▛ ███████████ |")
|
||||
logger.out("| |")
|
||||
logger.out("|------------------------------------------------------------|")
|
||||
logger.out("| Parallel Virtual Cluster node daemon v{0: <20} |".format(version))
|
||||
logger.out("| Debug: {0: <51} |".format(str(config["debug"])))
|
||||
logger.out("| FQDN: {0: <52} |".format(config["node_fqdn"]))
|
||||
logger.out("| Host: {0: <52} |".format(config["node_hostname"]))
|
||||
logger.out("| ID: {0: <54} |".format(config["node_id"]))
|
||||
logger.out("| IPMI hostname: {0: <43} |".format(config["ipmi_hostname"]))
|
||||
logger.out("| Machine details: |")
|
||||
logger.out("| CPUs: {0: <50} |".format(config["static_data"][0]))
|
||||
logger.out("| Arch: {0: <50} |".format(config["static_data"][3]))
|
||||
logger.out("| OS: {0: <52} |".format(config["static_data"][2]))
|
||||
logger.out("| Kernel: {0: <48} |".format(config["static_data"][1]))
|
||||
logger.out("|------------------------------------------------------------|")
|
||||
logger.out("")
|
||||
logger.out(f'Starting pvcnoded on host {config["node_fqdn"]}', state="s")
|
||||
|
||||
|
|
Loading…
Reference in New Issue