Update certs.inc
This commit is contained in:
@@ -8,7 +8,6 @@ NEWCERT(){
|
|||||||
while [ $# -gt 0 ]; do
|
while [ $# -gt 0 ]; do
|
||||||
case "${1}" in
|
case "${1}" in
|
||||||
-test|-t) CERTTEST=1;;
|
-test|-t) CERTTEST=1;;
|
||||||
*) NEW_CERT=${1};;
|
|
||||||
-h|-help|--help)
|
-h|-help|--help)
|
||||||
echo -e "Usage: ${idsCL[Yellow]}nodemgmt newcert {hostname}${idsCL[Default]} {"
|
echo -e "Usage: ${idsCL[Yellow]}nodemgmt newcert {hostname}${idsCL[Default]} {"
|
||||||
width=33
|
width=33
|
||||||
@@ -16,6 +15,7 @@ NEWCERT(){
|
|||||||
printf "%-${width}s- %s\n" " {hostname}" "(optional; enter hostname for new cert, comma-delimited for multiple)"
|
printf "%-${width}s- %s\n" " {hostname}" "(optional; enter hostname for new cert, comma-delimited for multiple)"
|
||||||
echo -e "}\n"
|
echo -e "}\n"
|
||||||
exit 0;;
|
exit 0;;
|
||||||
|
*) NEW_CERT=${1};;
|
||||||
esac
|
esac
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user