Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-01 19:43:24 -06:00
parent 8e2d48beb8
commit 48b1469016

View File

@@ -72,14 +72,14 @@ case "$1" in
echo "NEWSITE"
while [ $# -gt 0 ]; do
case "$1" in
-site) NEW_SITE=${2} ;;
-type) SITE_TYPE=${2} ;;
-ssl) CREATE_SSL=${2} ;;
-scheme) PROXYSCHEME=${2} ;;
-host) PROXYHOST=${2} ;;
-port) PROXYPORT=${2} ;;
-site) NEW_SITE=${2};;
-type) SITE_TYPE=${2};;
-ssl) CREATE_SSL=${2};;
-proxy_scheme) PROXYSCHEME=${2};;
-proxy_host) PROXYHOST=${2};;
-proxy_port) PROXYPORT=${2};;
-*)
echo "Invalid option: '${OPTARG}' requires an argument" 1>&2
echo "Invalid option: '${1}' requires an argument" 1>&2
echo ""
echo -e "Usage: ${idsCL[Yellow]}nodemgmt newcert${idsCL[Default]} {"
width=33