Update nodemgmt-scripts.sh

This commit is contained in:
2019-01-28 11:29:53 -06:00
parent 0a1be7bc96
commit 6d2e508c4f

View File

@@ -93,8 +93,8 @@ case "$1" in
nid=1 nid=1
for nip in "${NODE_HOSTS[@]}" for nip in "${NODE_HOSTS[@]}"
do do
echo -e "${idsCL[Yellow]}[[Setting folder permissions for Node ${nid} ($nip)]]${idsCL[Default]}" echo -e "${idsCL[Yellow]}Setting folder permissions for Node ${nid} ($nip)${idsCL[Default]}"
echo -en "${idsCL[Cyan]}LetsEncrypt Certificates... ${idsCL[Default]}" echo -en "${idsCL[Cyan]}LetsEncrypt Certs... ${idsCL[Default]}"
ssh root@${nip} chown -R root:letsencrypt /etc/letsencrypt ssh root@${nip} chown -R root:letsencrypt /etc/letsencrypt
ssh root@${nip} chmod -R 6775 /etc/letsencrypt ssh root@${nip} chmod -R 6775 /etc/letsencrypt
echo -e "${idsCL[Green]}OK${idsCL[Default]}" echo -e "${idsCL[Green]}OK${idsCL[Default]}"