aboutsummaryrefslogtreecommitdiffstats
path: root/test/ete/scripts/deploy-onap.sh
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-01-12 12:09:36 -0800
committerGary Wu <gary.i.wu@huawei.com>2018-01-12 20:10:40 +0000
commit90ab86b018fe1a8cdeabee762084afedf98b7752 (patch)
tree928f41c701b2f8f1267bb4c14b783266be48e56f /test/ete/scripts/deploy-onap.sh
parentd448c2d199e626283a8e58e486a4b8eebbf401fa (diff)
Use ubuntu instead of root to check for docker
Change-Id: I78258fd53ba55f1d5f83dbf74a856319d7c4205e Issue-ID: INT-278 Signed-off-by: Gary Wu <gary.i.wu@huawei.com> (cherry picked from commit 2df4ce69ff248b4c267329a24db900908e158f36)
Diffstat (limited to 'test/ete/scripts/deploy-onap.sh')
-rwxr-xr-xtest/ete/scripts/deploy-onap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ete/scripts/deploy-onap.sh b/test/ete/scripts/deploy-onap.sh
index 96d42a0b1..68ca34830 100755
--- a/test/ete/scripts/deploy-onap.sh
+++ b/test/ete/scripts/deploy-onap.sh
@@ -85,7 +85,7 @@ ssh-keygen -R ${ROBOT_IP}
SSH_KEY=~/.ssh/onap_key
-until ssh -o StrictHostKeychecking=no -i ${SSH_KEY} root@${ROBOT_IP} "docker ps | grep -q openecompete_container"
+until ssh -o StrictHostKeychecking=no -i ${SSH_KEY} ubuntu@${ROBOT_IP} "sudo docker ps" | grep openecompete_container
do
sleep 2m
done