Skip to content
Snippets Groups Projects
Commit 288edc21 authored by Stéphane Diemer's avatar Stéphane Diemer
Browse files

Make some message more visible.

parent cf1b7d0c
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment