summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Brady <patrick.brady@att.com>2019-11-13 13:38:33 -0800
committerPatrick Brady <patrick.brady@att.com>2019-11-13 21:40:12 +0000
commitbdfa6e62a885b4a37171478a7982605eff119d6c (patch)
tree0845b1122c38fa309949340ed52574fd460c707d
parent091fd615d42d827d3c25fb7be7310a5db014a55f (diff)
Use ssh feature install for srvcomm
Use the ssh method for feature install, the same way that all other features are using. Change-Id: I4f4a1b5d721984435490681f99c81caab80a7c7e Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1744
-rwxr-xr-xappc-service-communicator/appc-service-communicator-installer/src/main/resources/scripts/install-feature.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/appc-service-communicator/appc-service-communicator-installer/src/main/resources/scripts/install-feature.sh b/appc-service-communicator/appc-service-communicator-installer/src/main/resources/scripts/install-feature.sh
index 836910190..17282a8db 100755
--- a/appc-service-communicator/appc-service-communicator-installer/src/main/resources/scripts/install-feature.sh
+++ b/appc-service-communicator/appc-service-communicator-installer/src/main/resources/scripts/install-feature.sh
@@ -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}" 2> /tmp/installErr
cat /tmp/installErr
if grep -q 'Failed to get the session' /tmp/installErr; then
sleep 10