X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=scripts%2Fsetup.sh;fp=scripts%2Fsetup.sh;h=e1b04a4db7040e2080c4970f1600804b0fb38f2d;hb=cfe405b4861af53b77abe7b7cd3e5caa2e76484b;hp=9efe5477017cd1e8d25c18194c1c5afd9d765d3b;hpb=895474a9c22bb0cf3fdcc0714b6ce6694c0f1dd8;p=eliot.git diff --git a/scripts/setup.sh b/scripts/setup.sh index 9efe547..e1b04a4 100755 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -69,7 +69,7 @@ setup_k8sworkers() sshpass -p ${nodepaswd} ssh ${nodeusr}@${nodeip} ${SETUP_WORKER_COMMON} < /dev/null sshpass -p ${nodepaswd} ssh ${nodeusr}@${nodeip} ${SETUP_WORKER} < /dev/null sshpass -p ${nodepaswd} ssh ${nodeusr}@${nodeip} ${KUBEADM_JOIN} < /dev/null - done < nodelist + done < nodelist > /dev/null 2>&1 } @@ -83,7 +83,7 @@ verify_k8s_status(){ install_cadvisor_edge(){ set -o xtrace - SETUP_CADVISOR_ATEDGE="cd AfterRelease1/eliot/scripts/ && source cadvisorsetup.sh" + SETUP_CADVISOR_ATEDGE="cd eliot/scripts/ && source cadvisorsetup.sh" while read line do nodeinfo="${line}" @@ -91,7 +91,7 @@ install_cadvisor_edge(){ nodeip=$(echo ${nodeinfo} | cut -d"|" -f2) nodepaswd=$(echo ${nodeinfo} | cut -d"|" -f3) sshpass -p ${nodepaswd} ssh ${nodeusr}@${nodeip} ${SETUP_CADVISOR_ATEDGE} < /dev/null - done < nodelist + done < nodelist > /dev/null 2>&1 } install_prometheus(){