diff --git a/cc-cleaner.sh b/cc-cleaner.sh index 7f0aee2..0081467 100755 --- a/cc-cleaner.sh +++ b/cc-cleaner.sh @@ -8,11 +8,11 @@ echo "" echo -e "${idsCL[LightGreen]}Cluster Control Removal Script${idsCL[Default]}" echo "" -# cd ~ -# rm -f ./install-cc -# wget https://severalnines.com/downloads/cmon/install-cc -# chmod +x ./install-cc -# sed -i 's/\/var\/lib\/mysql\/mysql.sock/\/var\/run\/mysqld\/mysqld.sock/g' ./install-cc +cd ~ +rm -f ./install-cc +wget https://severalnines.com/downloads/cmon/install-cc +chmod +x ./install-cc +sed -i 's/\/var\/lib\/mysql\/mysql.sock/\/var\/run\/mysqld\/mysqld.sock/g' ./install-cc read -n 1 -p "Are you sure you wish to remove Cluster Control and all data (Y/n)?" choice @@ -51,13 +51,14 @@ case "$choice" in [Nn]) echo ''; exit 0;; * ) - # ./install-cc - # - # #read -n 1 -p "Login at https://10.10.10.50 and setup the admin user, once complete then press ENTER" choice - # - # /opt/copycerts.sh - # apt install -y mailutils xtrabackup + ./install-cc + + #read -n 1 -p "Login at https://10.10.10.50 and setup the admin user, once complete then press ENTER" choice + + /opt/copycerts.sh + apt install -y mailutils xtrabackup + echo echo read -p "Enter the admin password for MySQL: " pwd echo "Enter the root password for adding back in the admin user for MySQL:" diff --git a/install-linupx.sh b/install-linupx.sh index 71564e1..94b8439 100755 --- a/install-linupx.sh +++ b/install-linupx.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash # Wrapper script for install, for easier execution via URL. -source /dev/stdin <<< "$(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/colors.inc)" -source /dev/stdin <<< "$(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/default.inc)" +source /dev/stdin <<< "$(curl -sL http://go.scity.us/colorsinc)" +source /dev/stdin <<< "$(curl -sL http://go.scity.us/defaultinc)" if [ "$EUID" -ne 0 ]; then APTFUNC="sudo ${ATYPE}"