Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-01 16:56:34 -06:00
parent bc858b1658
commit 8522b734ee

View File

@@ -130,8 +130,15 @@ case "$1" in
else
echo "Missing parameters"
echo ""
echo -e "Usage: ${idsCL[Yellow]}nodemgmt newcert${idsCL[Default]} {
${idsCL[Yellow]}-site${idsCL[Default]} {domain address} - (*required)
echo -e "Usage: ${idsCL[Yellow]}nodemgmt newcert${idsCL[Default]} {"
width=30
printf "%-${width}s: %s\n" "${idsCL[Yellow]}-site${idsCL[Default]} {FQDN address}" "(*required)"
printf "%-${width}s: %s\n" "${idsCL[Yellow]}-type${idsCL[Default]} {'local' or 'proxy'}" "(defaults to true)"
printf "%-${width}s: %s\n" "${idsCL[Yellow]}-ssl${idsCL[Default]} {true or false}" "(*required)"
printf "%-${width}s: %s\n" "${idsCL[Yellow]}-proxy_scheme${idsCL[Default]} {http or https}" "(required if type set to proxy)"
printf "%-${width}s: %s\n" "${idsCL[Yellow]}-proxy_host${idsCL[Default]} {IP or FQDN}" "(required if type set to proxy)"
printf "%-${width}s: %s\n" "${idsCL[Yellow]}-proxy_port${idsCL[Default]} {host port}" "(required if type set to proxy)"
-
${idsCL[Yellow]}-type${idsCL[Default]} {'local' or 'proxy'} - (defaults to local)
${idsCL[Yellow]}-ssl${idsCL[Default]} {true or false} - (defaults to true)
${idsCL[Yellow]}-proxy_scheme${idsCL[Default]} {http or https} - (required if type set to proxy)