diff --git a/api-daemon/pvcapid/Daemon.py b/api-daemon/pvcapid/Daemon.py index 0e1951cb..11e3020a 100755 --- a/api-daemon/pvcapid/Daemon.py +++ b/api-daemon/pvcapid/Daemon.py @@ -117,21 +117,20 @@ def entrypoint(): # Print our startup messages print('') - print('|--------------------------------------------------|') - print('| ######## ## ## ###### |') - print('| ## ## ## ## ## ## |') - print('| ## ## ## ## ## |') - print('| ######## ## ## ## |') - print('| ## ## ## ## |') - print('| ## ## ## ## ## |') - print('| ## ### ###### |') - print('|--------------------------------------------------|') - print('| Parallel Virtual Cluster API daemon v{0: <11} |'.format(version)) - print('| API version: v{0: <34} |'.format(API_VERSION)) - print('| Listen: {0: <40} |'.format('{}:{}'.format(config['listen_address'], config['listen_port']))) - print('| SSL: {0: <43} |'.format(str(config['ssl_enabled']))) - print('| Authentication: {0: <32} |'.format(str(config['auth_enabled']))) - print('|--------------------------------------------------|') + print('|----------------------------------------------------------|') + print('| |') + print('| ███████████ ██▙ ▟██ █████ █ █ █ |') + print('| ██ ██▙ ▟██ ██ |') + print('| ███████████ ██▙ ▟██ ██ |') + print('| ██ ██▙▟██ ███████████ |') + print('| |') + print('|----------------------------------------------------------|') + print('| Parallel Virtual Cluster API daemon v{0: <19} |'.format(version)) + print('| API version: v{0: <42} |'.format(API_VERSION)) + print('| Listen: {0: <48} |'.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('') pvc_api.app.run(config['listen_address'], config['listen_port'], threaded=True, ssl_context=context) diff --git a/node-daemon/pvcnoded/Daemon.py b/node-daemon/pvcnoded/Daemon.py index e685169a..cbff990c 100644 --- a/node-daemon/pvcnoded/Daemon.py +++ b/node-daemon/pvcnoded/Daemon.py @@ -343,26 +343,25 @@ logger = log.Logger(config) # Print our startup messages logger.out('') -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: <10} |'.format(version)) -logger.out('| FQDN: {0: <42} |'.format(myfqdn)) -logger.out('| Host: {0: <42} |'.format(myhostname)) -logger.out('| ID: {0: <44} |'.format(mynodeid)) -logger.out('| IPMI hostname: {0: <33} |'.format(config['ipmi_hostname'])) -logger.out('| Machine details: |') -logger.out('| CPUs: {0: <40} |'.format(staticdata[0])) -logger.out('| Arch: {0: <40} |'.format(staticdata[3])) -logger.out('| OS: {0: <42} |'.format(staticdata[2])) -logger.out('| Kernel: {0: <38} |'.format(staticdata[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: <18} |'.format(version)) +logger.out('| FQDN: {0: <50} |'.format(myfqdn)) +logger.out('| Host: {0: <50} |'.format(myhostname)) +logger.out('| ID: {0: <52} |'.format(mynodeid)) +logger.out('| IPMI hostname: {0: <41} |'.format(config['ipmi_hostname'])) +logger.out('| Machine details: |') +logger.out('| CPUs: {0: <48} |'.format(staticdata[0])) +logger.out('| Arch: {0: <48} |'.format(staticdata[3])) +logger.out('| OS: {0: <50} |'.format(staticdata[2])) +logger.out('| Kernel: {0: <46} |'.format(staticdata[1])) +logger.out('|----------------------------------------------------------|') logger.out('') logger.out('Starting pvcnoded on host {}'.format(myfqdn), state='s')