Use ubuntu instead of root to check for docker 75/28075/1
authorGary Wu <gary.i.wu@huawei.com>
Fri, 12 Jan 2018 20:09:36 +0000 (12:09 -0800)
committerGary Wu <gary.i.wu@huawei.com>
Fri, 12 Jan 2018 20:10:40 +0000 (20:10 +0000)
Change-Id: I78258fd53ba55f1d5f83dbf74a856319d7c4205e
Issue-ID: INT-278
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
(cherry picked from commit 2df4ce69ff248b4c267329a24db900908e158f36)

test/ete/scripts/deploy-onap.sh

index 96d42a0..68ca348 100755 (executable)
@@ -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