diff options
Diffstat (limited to 'appc-metric/appc-metric-installer')
-rw-r--r-- | appc-metric/appc-metric-installer/pom.xml | 2 | ||||
-rwxr-xr-x | appc-metric/appc-metric-installer/src/main/resources/scripts/install-feature.sh | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/appc-metric/appc-metric-installer/pom.xml b/appc-metric/appc-metric-installer/pom.xml index 48f8c27b9..ec2c303bb 100644 --- a/appc-metric/appc-metric-installer/pom.xml +++ b/appc-metric/appc-metric-installer/pom.xml @@ -25,7 +25,7 @@ <artifactId>odlparent-lite</artifactId> <groupId>org.onap.appc.parent</groupId> <version>2.7.0-SNAPSHOT</version> - <relativePath /> + <relativePath/> </parent> <groupId>org.onap.appc</groupId> <artifactId>appc-metric-installer</artifactId> diff --git a/appc-metric/appc-metric-installer/src/main/resources/scripts/install-feature.sh b/appc-metric/appc-metric-installer/src/main/resources/scripts/install-feature.sh index 5d93a3dc9..47173eded 100755 --- a/appc-metric/appc-metric-installer/src/main/resources/scripts/install-feature.sh +++ b/appc-metric/appc-metric-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 |