Update nodemgmt-scripts.sh
This commit is contained in:
@@ -339,6 +339,8 @@ NEWSITE(){
|
||||
echo -e -n "${idsCL[LightCyan]}New site domain name: ${idsCL[Default]}"
|
||||
read NEW_SITE
|
||||
showdivide=yes
|
||||
else
|
||||
|
||||
fi
|
||||
if [ -z ${CREATE_SSL+x} ]; then
|
||||
echo -e -n "${idsCL[LightCyan]}Create SSL for site? [Y/n] ${idsCL[Default]}"
|
||||
@@ -378,9 +380,9 @@ NEWSITE(){
|
||||
if [ "${showdivide}" = "yes" ]; then DIVIDER; fi
|
||||
echo ""
|
||||
width=16
|
||||
printf "%-${width}s- %s\n" "New site:" "${NEW_SITE}"
|
||||
printf "%-${width}s- %s\n" "Create SSL:" "${CREATE_SSL}"
|
||||
printf "%-${width}s- %s\n" "Site type:" "${SITE_TYPE}"
|
||||
printf "%-${width}s: %s\n" "New site" "${NEW_SITE}"
|
||||
printf "%-${width}s: %s\n" "Create SSL" "${CREATE_SSL}"
|
||||
printf "%-${width}s: %s\n" "Site type" "${SITE_TYPE}"
|
||||
if [ "${SITE_TYPE}" = "proxy" ]; then
|
||||
printf "%-${width}s- %s\n" "Proxy host:" "${PROXYHOST}"
|
||||
printf "%-${width}s- %s\n" "Proxy port:" "${PROXYPORT}"
|
||||
|
||||
Reference in New Issue
Block a user