Neon SR1 upgrade
[appc.git] / appc-sdc-listener / appc-sdc-listener-installer / src / main / resources / scripts / install-feature.sh
index 8369101..64b4d08 100755 (executable)
@@ -38,7 +38,8 @@ fi
 
 COUNT=0
 while [ $COUNT -lt 10 ]; do
-       ${ODL_KARAF_CLIENT} ${ODL_KARAF_CLIENT_OPTS} feature:repo-add ${features.repositories} 2> /tmp/installErr
+#      ${ODL_KARAF_CLIENT} ${ODL_KARAF_CLIENT_OPTS} feature:repo-add ${features.repositories} 2> /tmp/installErr
+        sshpass -pkaraf ssh -o StrictHostKeyChecking=no karaf@localhost -p 8101 "feature:repo-add ${features.repositories}"
        cat /tmp/installErr
        if grep -q 'Failed to get the session' /tmp/installErr; then
                sleep 10