diff --git a/init.sh b/init.sh index 659cb03..4bf960d 100755 --- a/init.sh +++ b/init.sh @@ -68,9 +68,6 @@ function start_ssh_agent(){ function init_repos(){ - - - if [ -d "$WA_REPO" ]; then echo "$WA_REPO does exist, skipping cloning" source $WA_REPO/export_client_name.sh @@ -170,7 +167,7 @@ mainmenu() { MAIN MENU 1) Init Master 2) Join Worker -3) Reset Repos and start over again +3) Reset Cluster and start over again 0) Exit Choose an option: " read -r ans @@ -186,7 +183,6 @@ Choose an option: " source $WA_REPO/shared_resources_k8s/k8s/init_worker.sh ;; 3) - rm -rf $HOME/wa_repos kubeadm_reset ;; 0)