Update cc-cleaner.sh

This commit is contained in:
2022-09-03 17:21:02 -05:00
parent 04619f9b87
commit b98d2b2c4a

View File

@@ -8,6 +8,10 @@ echo ""
echo -e "${idsCL[LightGreen]}Cluster Control Removal Script${idsCL[Default]}"
echo ""
cd ~
wget https://severalnines.com/downloads/cmon/install-cc
chmod +x ./install-cc
read -n 1 -p "Are you sure you wish to remove Cluster Control and all data (Y/n)?" choice
case "$choice" in
[Nn]) echo ''; ;;
@@ -44,9 +48,6 @@ read -n 1 -p "Would you like to now re-install Cluster Control (Y/n)?" choice
case "$choice" in
[Nn]) echo ''; exit 0;;
* )
cd ~
wget https://severalnines.com/downloads/cmon/install-cc
chmod +x ./install-cc
./install-cc
/opt/copycerts.sh