Update nodemgmt-scripts.sh

This commit is contained in:
2022-06-04 09:01:24 -05:00
parent 36c9843cf1
commit 6fd388da57

View File

@@ -1710,10 +1710,10 @@ VCENTER-SSL(){
echo -e "${idsCL[Green]}Done${idsCL[Default]}"
echo
echo -en "${idsCL[LightCyan]}Stopping vCenter services... ${idsCL[Default]}"
ssh -i ~/.ssh/id_rsa root@vcenter.scity.us 'service-control --stop --all'
ssh -i ~/.ssh/id_rsa root@vcenter.scity.us 'service-control --stop --all >/dev/null 2>&1'
echo -e "${idsCL[Green]}Done${idsCL[Default]}"
echo -en "${idsCL[LightCyan]}Starting vCenter services... ${idsCL[Default]}"
ssh -i ~/.ssh/id_rsa root@vcenter.scity.us 'service-control --start --all'
ssh -i ~/.ssh/id_rsa root@vcenter.scity.us 'service-control --start --all >/dev/null 2>&1'
echo -e "${idsCL[Green]}Done${idsCL[Default]}"
echo
echo -e "${idsCL[Green]}The vCenter certifcate has been updated${idsCL[Default]}"