From 90ab86b018fe1a8cdeabee762084afedf98b7752 Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Fri, 12 Jan 2018 12:09:36 -0800 Subject: Use ubuntu instead of root to check for docker Change-Id: I78258fd53ba55f1d5f83dbf74a856319d7c4205e Issue-ID: INT-278 Signed-off-by: Gary Wu (cherry picked from commit 2df4ce69ff248b4c267329a24db900908e158f36) --- test/ete/scripts/deploy-onap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.2.3-korg