Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-06 11:40:40 -06:00
parent 7ad0298346
commit 484b299ebd

View File

@@ -62,11 +62,12 @@ STATUS() {
}
NEWCERT(){
echo ""
NEW_CERT=${1}
if [ -z ${NEW_CERT+x} ]; then
if [ -z ${1+x} ]; then
echo -e -n "${idsCL[LightCyan]}Create certificate for what address: ${idsCL[Default]}"
read NEW_CERT
echo ""
else
NEW_CERT=${1}
fi
echo -e "${idsCL[LightGreen]}Requesting Certificate for '${idsCL[Yellow]}${NEW_CERT}${idsCL[LightGreen]}'...${idsCL[Default]}"
echo ""