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]}"
|
echo -e -n "${idsCL[LightCyan]}New site domain name: ${idsCL[Default]}"
|
||||||
read NEW_SITE
|
read NEW_SITE
|
||||||
showdivide=yes
|
showdivide=yes
|
||||||
|
else
|
||||||
|
|
||||||
fi
|
fi
|
||||||
if [ -z ${CREATE_SSL+x} ]; then
|
if [ -z ${CREATE_SSL+x} ]; then
|
||||||
echo -e -n "${idsCL[LightCyan]}Create SSL for site? [Y/n] ${idsCL[Default]}"
|
echo -e -n "${idsCL[LightCyan]}Create SSL for site? [Y/n] ${idsCL[Default]}"
|
||||||
@@ -378,9 +380,9 @@ NEWSITE(){
|
|||||||
if [ "${showdivide}" = "yes" ]; then DIVIDER; fi
|
if [ "${showdivide}" = "yes" ]; then DIVIDER; fi
|
||||||
echo ""
|
echo ""
|
||||||
width=16
|
width=16
|
||||||
printf "%-${width}s- %s\n" "New site:" "${NEW_SITE}"
|
printf "%-${width}s: %s\n" "New site" "${NEW_SITE}"
|
||||||
printf "%-${width}s- %s\n" "Create SSL:" "${CREATE_SSL}"
|
printf "%-${width}s: %s\n" "Create SSL" "${CREATE_SSL}"
|
||||||
printf "%-${width}s- %s\n" "Site type:" "${SITE_TYPE}"
|
printf "%-${width}s: %s\n" "Site type" "${SITE_TYPE}"
|
||||||
if [ "${SITE_TYPE}" = "proxy" ]; then
|
if [ "${SITE_TYPE}" = "proxy" ]; then
|
||||||
printf "%-${width}s- %s\n" "Proxy host:" "${PROXYHOST}"
|
printf "%-${width}s- %s\n" "Proxy host:" "${PROXYHOST}"
|
||||||
printf "%-${width}s- %s\n" "Proxy port:" "${PROXYPORT}"
|
printf "%-${width}s- %s\n" "Proxy port:" "${PROXYPORT}"
|
||||||
|
|||||||
Reference in New Issue
Block a user