Switch tty message to systemd service;Add missing kubeconfig;Refactor tty script
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-01-07 11:58:58 +01:00
parent 2a5a154df0
commit 62660c8d6c
4 changed files with 36 additions and 16 deletions

View File

@ -17,11 +17,16 @@ COMPONENTS=('ca' 'storage' 'registry' 'git' 'gitops')
FQDN='{{ vapp['metacluster.fqdn'] }}'
IPADDRESS='{{ vapp['guestinfo.ipaddress'] }}'
# Waiting to allow boot sequence to finish; crude!
sleep 30
clear > /dev/tty1
I=10
while /bin/true; do
if [[ $I -lt 9 ]]; then
clear > /dev/tty1
I=0
else
I=$(( $I + 1 ))
fi
echo -e "${PRST}" > /dev/tty1
echo -e "\n\n\t${DFLT}To manage this appliance, please connect to one of the following:${LCLR}\n" > /dev/tty1