Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-04 07:33:16 -06:00
parent 6dd6866c13
commit 9597d071be

View File

@@ -63,7 +63,7 @@ STATUS() {
NEWCERT(){
echo -e "${idsCL[LightGreen]}Requesting Certificate for '${idsCL[Yellow]}${1}${idsCL[LightGreen]}'...${idsCL[Default]}"
echo ""
do_with_root $CERT_DAEMON certonly --webroot -w /var/www/html -d $2
do_with_root $CERT_DAEMON certonly --webroot -w /var/www/html -d ${1}
do_with_root chown -R root:letsencrypt /etc/letsencrypt
do_with_root chmod -R 6775 /etc/letsencrypt
echo -e "${idsCL[LightYellow]}Waiting for certifcate replication between the nodes...${idsCL[Default]}"