diff --git a/deploy/install.sh b/deploy/install.sh index 7310595965..3de04af457 100755 --- a/deploy/install.sh +++ b/deploy/install.sh @@ -160,8 +160,9 @@ install_docker() { echo echo "Amazon Linux detected ... " echo - sudo yum install docker - sudo service docker start + # sudo yum install docker + # sudo service docker start + sudo amazon-linux-extras install docker else yum_cmd="sudo yum --assumeyes --quiet" @@ -313,28 +314,30 @@ check_os SIGNOZ_INSTALLATION_ID=$(curl -s 'https://api64.ipify.org') -echo "" +# echo "" -echo -e "šŸ‘‰ ${RED}Two ways to go forward\n" -echo -e "${RED}1) ClickHouse as database (default)\n" -echo -e "${RED}2) Kafka + Druid as datastore \n" -read -p "āš™ļø Enter your preference (1/2):" choice_setup +# echo -e "šŸ‘‰ ${RED}Two ways to go forward\n" +# echo -e "${RED}1) ClickHouse as database (default)\n" +# echo -e "${RED}2) Kafka + Druid as datastore \n" +# read -p "āš™ļø Enter your preference (1/2):" choice_setup -while [[ $choice_setup != "1" && $choice_setup != "2" && $choice_setup != "" ]] -do - # echo $choice_setup - echo -e "\nāŒ ${CYAN}Please enter either 1 or 2" - read -p "āš™ļø Enter your preference (1/2): " choice_setup - # echo $choice_setup -done +# while [[ $choice_setup != "1" && $choice_setup != "2" && $choice_setup != "" ]] +# do +# # echo $choice_setup +# echo -e "\nāŒ ${CYAN}Please enter either 1 or 2" +# read -p "āš™ļø Enter your preference (1/2): " choice_setup +# # echo $choice_setup +# done -if [[ $choice_setup == "1" || $choice_setup == "" ]];then - setup_type='clickhouse' -else - setup_type='druid' -fi +# if [[ $choice_setup == "1" || $choice_setup == "" ]];then +# setup_type='clickhouse' +# else +# setup_type='druid' +# fi -echo -e "\nāœ… ${CYAN}You have chosen: ${setup_type} setup\n" +setup_type='clickhouse' + +# echo -e "\nāœ… ${CYAN}You have chosen: ${setup_type} setup\n" # Run bye if failure happens trap bye EXIT