Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user