summaryrefslogtreecommitdiffstats
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 12:09:36 -0800
commit2df4ce69ff248b4c267329a24db900908e158f36 (patch)
tree21fb05aae076f21c92bdc0db9d86bd3a8d1a6747
parentc0485097c372ac041ab07a01b96512e10e2c4430 (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>
-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