From 288edc21783a634a8636c3294decc66c90979467 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Diemer?= <stephane.diemer@ubicast.eu> Date: Fri, 4 Aug 2017 14:30:19 +0200 Subject: [PATCH] Make some message more visible. --- 3.New_server_deployment/2.Fill_empty_conf/0_setup.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/3.New_server_deployment/2.Fill_empty_conf/0_setup.sh b/3.New_server_deployment/2.Fill_empty_conf/0_setup.sh index add9be4e..e8ac7039 100755 --- a/3.New_server_deployment/2.Fill_empty_conf/0_setup.sh +++ b/3.New_server_deployment/2.Fill_empty_conf/0_setup.sh @@ -12,7 +12,8 @@ if [ "${MS_ID}" = "" ]; then else echo "MS_ID='${MS_ID}'" >> /root/envsetup/conf.sh fi - echo "The config MS_ID has been set." + echo "${YELLOW}The config MS_ID has been set. If you forgot to fill it before, please change the value in the envsetup configuration.${NC}" + sleep 3 fi if [ "${MS_API_KEY}" = "" ]; then MS_API_KEY=$(echo "s$(pwgen 4)-$(pwgen 5)-$(pwgen 5)-$(pwgen 5)-$(pwgen 5)") @@ -23,7 +24,8 @@ if [ "${MS_API_KEY}" = "" ]; then else echo "MS_API_KEY='${MS_API_KEY}'" >> /root/envsetup/conf.sh fi - echo "The config MS_API_KEY has been set." + echo "${YELLOW}The config MS_API_KEY has been set. If you forgot to fill it before, please change the value in the envsetup configuration.${NC}" + sleep 3 fi if [ "${MS_SECRET}" = "secret" ]; then MS_SECRET=$(echo "$(pwgen 40)") @@ -32,5 +34,6 @@ if [ "${MS_SECRET}" = "secret" ]; then else echo "MS_SECRET='${MS_SECRET}'" >> /root/envsetup/conf.sh fi - echo "The config MS_SECRET has been set." + echo "${YELLOW}The config MS_SECRET has been set. If you forgot to fill it before, please change the value in the envsetup configuration.${NC}" + sleep 3 fi -- GitLab