Use ubuntu instead of root to check for docker 73/28073/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:09:36 +0000 (12:09 -0800)
Change-Id: I78258fd53ba55f1d5f83dbf74a856319d7c4205e
Issue-ID: INT-278
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
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