Update nodemgmt-scripts.sh

This commit is contained in:
2023-11-22 19:39:10 -06:00
parent 48785380d9
commit 47cd11b088

View File

@@ -424,7 +424,7 @@ VCENTER-SSL(){
if ssh -q root@${NM_VCHOSTNAME} [ ! -d /root/.acme.sh ]; then
echo -e "${idsCL[Yellow]}Installing acme.sh scripts on vCenter${idsCL[Default]}\n"
ssh root@${NM_VCHOSTNAME} "wget -O - https://get.acme.sh | sh"
ssh -q root@${NM_VCHOSTNAME} "wget -O - https://get.acme.sh | sh"
echo
else
echo -e "${idsCL[Green]}Verified acme.sh scripts are installed on vCenter${idsCL[Default]}\n"
@@ -439,7 +439,7 @@ export PDNS_Ttl=60
" >> /tmp/vcenter-update-ssl.sh
echo "HERE:"
scp /tmp/vcenter-update-ssl.sh root@${NM_VCHOSTNAME}:/tmp/vcenter-update-ssl.sh
ssh root@${NM_VCHOSTNAME} "/tmp/vcenter-update-ssl.sh"
ssh -q root@${NM_VCHOSTNAME} "bash /tmp/vcenter-update-ssl.sh"