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 add9be4ec71be42a4f4b21a2ea05c08bc8e5d6d8..e8ac7039d4c178e83845aee3d9d5618f5f26a3a9 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