Skip to content
Snippets Groups Projects
Verified Commit 4fece45e authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

toolbox: Improve toolbox welcome message

parent b9616c1a
No related branches found
No related tags found
No related merge requests found
......@@ -5,10 +5,11 @@ set -e
MSG='USAGE_MSG="\e[1;31mSWH_CONFIG_FILENAME variable is not set!\n\n
This variable must be defined according to your use case (e.g. .\n
scheduler, storage, vault, ...). You must define it by yourself.\e[m\n\n
\e[0;33mFor example to process add-forge-now requests:\e[m\n
export SWH_CONFIG_FILENAME=/etc/swh/config-scheduler.yml\n"'
\e[0;33mFor example, use one of the following:\e[m\n"'
echo $MSG >> .bashrc
echo 'echo -e $USAGE_MSG' >> .bashrc
echo "find /etc/swh/ -type f -iname '*.yml' | xargs -i echo 'export SWH_CONFIG_FILENAME={}'" >> .bashrc
echo "Administration purpose pod: connect to it and do what you will!"
while sleep infinity; do :; done
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