Update nodemgmt-scripts.sh
This commit is contained in:
@@ -62,11 +62,12 @@ STATUS() {
|
|||||||
}
|
}
|
||||||
NEWCERT(){
|
NEWCERT(){
|
||||||
echo ""
|
echo ""
|
||||||
NEW_CERT=${1}
|
if [ -z ${1+x} ]; then
|
||||||
if [ -z ${NEW_CERT+x} ]; then
|
|
||||||
echo -e -n "${idsCL[LightCyan]}Create certificate for what address: ${idsCL[Default]}"
|
echo -e -n "${idsCL[LightCyan]}Create certificate for what address: ${idsCL[Default]}"
|
||||||
read NEW_CERT
|
read NEW_CERT
|
||||||
echo ""
|
echo ""
|
||||||
|
else
|
||||||
|
NEW_CERT=${1}
|
||||||
fi
|
fi
|
||||||
echo -e "${idsCL[LightGreen]}Requesting Certificate for '${idsCL[Yellow]}${NEW_CERT}${idsCL[LightGreen]}'...${idsCL[Default]}"
|
echo -e "${idsCL[LightGreen]}Requesting Certificate for '${idsCL[Yellow]}${NEW_CERT}${idsCL[LightGreen]}'...${idsCL[Default]}"
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Reference in New Issue
Block a user