Update cc-cleaner.sh
This commit is contained in:
@@ -8,6 +8,10 @@ echo ""
|
|||||||
echo -e "${idsCL[LightGreen]}Cluster Control Removal Script${idsCL[Default]}"
|
echo -e "${idsCL[LightGreen]}Cluster Control Removal Script${idsCL[Default]}"
|
||||||
echo ""
|
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
|
read -n 1 -p "Are you sure you wish to remove Cluster Control and all data (Y/n)?" choice
|
||||||
case "$choice" in
|
case "$choice" in
|
||||||
[Nn]) echo ''; ;;
|
[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
|
case "$choice" in
|
||||||
[Nn]) echo ''; exit 0;;
|
[Nn]) echo ''; exit 0;;
|
||||||
* )
|
* )
|
||||||
cd ~
|
|
||||||
wget https://severalnines.com/downloads/cmon/install-cc
|
|
||||||
chmod +x ./install-cc
|
|
||||||
|
|
||||||
./install-cc
|
./install-cc
|
||||||
/opt/copycerts.sh
|
/opt/copycerts.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user