[ONOS-6954] Fix onos-wait-for-start karaf login timeout

Change-Id: I20bc841f1e07be139578f23a27d4e4223ac946be
diff --git a/tools/test/bin/onos-wait-for-start b/tools/test/bin/onos-wait-for-start
index 66630b9..2cc5002 100755
--- a/tools/test/bin/onos-wait-for-start
+++ b/tools/test/bin/onos-wait-for-start
@@ -11,13 +11,13 @@
 
 remote=$ONOS_USER@$node
 
-ssh -t -t $remote "
-    # Wait until we reach the run-level 100
-    for i in {1..90}; do
-        $ONOS_INSTALL_DIR/bin/onos bundle:list 2>/dev/null | \
-            grep -q 'START LEVEL 100' && break || sleep 2
-    done
+# Wait until we reach the run-level 100
+for i in {1..90}; do
+    $ONOS_ROOT/tools/test/bin/onos $node bundle:list 2>/dev/null | \
+        grep -q 'START LEVEL 100' && break || sleep 2
+done
 
+ssh -t -t $remote "
     # Wait until ApplicationManager is available
     for i in {1..10}; do
         grep -q \" ApplicationManager .* Started\" \