Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-01 16:57:27 -06:00
parent 8522b734ee
commit 5cf7e9cc9a

View File

@@ -131,20 +131,14 @@ case "$1" in
echo "Missing parameters"
echo ""
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)
${idsCL[Yellow]}-proxy_host${idsCL[Default]} {IP or FQDN} - (required if type set to proxy)
${idsCL[Yellow]}-proxy_port${idsCL[Default]} {host port} - (required if type set to proxy)
}"
width=26
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)"
echo "}"
fi
;;