summaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/scripts/docker_run.sh
diff options
context:
space:
mode:
authorYuli Shlosberg <ys9693@att.com>2018-02-26 14:18:08 +0200
committerYuli Shlosberg <ys9693@att.com>2018-02-26 14:18:08 +0200
commit5d0f58eaab68a38ee5a514f70b10a89db28b0aad (patch)
treec1b7582b90709e195066de48186b87f26b861f12 /sdc-os-chef/scripts/docker_run.sh
parente07a516f249e8558e6f86ca6950eae1f3df00595 (diff)
fix docker_run
Change-Id: I5dcfa7aaedeaed84ce7600c435a2de86c5ead26e Issue-ID: SDC-920 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
Diffstat (limited to 'sdc-os-chef/scripts/docker_run.sh')
-rwxr-xr-xsdc-os-chef/scripts/docker_run.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/sdc-os-chef/scripts/docker_run.sh b/sdc-os-chef/scripts/docker_run.sh
index 026f8e961e..4ccf561032 100755
--- a/sdc-os-chef/scripts/docker_run.sh
+++ b/sdc-os-chef/scripts/docker_run.sh
@@ -49,7 +49,7 @@ docker logs $1 > ${WORKSPACE}/data/logs/$1_docker.log
function probe_cs {
cs_stat=false
-docker exec -it $1 /var/lib/ready-probe.sh > /dev/null 2>&1
+docker exec $1 /var/lib/ready-probe.sh > /dev/null 2>&1
rc=$?
if [[ $rc == 0 ]]; then
echo DOCKER start finished in $2 seconds
@@ -61,7 +61,7 @@ fi
function probe_be {
be_stat=false
-docker exec -it $1 /var/lib/ready-probe.sh > /dev/null 2>&1
+docker exec $1 /var/lib/ready-probe.sh > /dev/null 2>&1
rc=$?
if [[ $rc == 200 ]]; then
echo DOCKER start finished in $2 seconds
@@ -73,7 +73,7 @@ fi
function probe_fe {
fe_stat=false
-docker exec -it $1 /var/lib/ready-probe.sh > /dev/null 2>&1
+docker exec $1 /var/lib/ready-probe.sh > /dev/null 2>&1
rc=$?
if [[ $rc == 200 ]]; then
echo DOCKER start finished in $2 seconds