diff options
author | Taka Cho <takamune.cho@att.com> | 2019-10-08 22:11:26 -0400 |
---|---|---|
committer | Taka Cho <takamune.cho@att.com> | 2019-10-08 22:12:07 -0400 |
commit | 9c74c5729c9a52268342e583d6493bb19df80aa6 (patch) | |
tree | beab41f47664f62a54b2b72229c449237af5625b /appc-oam/appc-oam-installer/src | |
parent | 701d10c208c24c72e67ac7e555520c6127e0698f (diff) |
Neon SR1 upgrade
change pom files for
ODL Neon SR1 upgrade
Issue-ID: APPC-1749
Change-Id: Ib10ff74852a2b38933c0df034c71e21665430f62
Signed-off-by: Taka Cho <takamune.cho@att.com>
Diffstat (limited to 'appc-oam/appc-oam-installer/src')
-rwxr-xr-x | appc-oam/appc-oam-installer/src/main/resources/scripts/install-feature.sh | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/appc-oam/appc-oam-installer/src/main/resources/scripts/install-feature.sh b/appc-oam/appc-oam-installer/src/main/resources/scripts/install-feature.sh index 47a6ea4dd..5c077e86b 100755 --- a/appc-oam/appc-oam-installer/src/main/resources/scripts/install-feature.sh +++ b/appc-oam/appc-oam-installer/src/main/resources/scripts/install-feature.sh @@ -36,13 +36,10 @@ then fi -#${ODL_KARAF_CLIENT} ${ODL_KARAF_CLIENT_OPTS} feature:repo-add ${features.repositories} -# - - 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 @@ -50,15 +47,4 @@ while [ $COUNT -lt 10 ]; do let COUNT=10 fi let COUNT=COUNT+1 -done -COUNT=0 -while [ $COUNT -lt 10 ]; do - 2> /tmp/installErr - cat /tmp/installErr - if grep -q 'Failed to get the session' /tmp/installErr; then - sleep 10 - else - let COUNT=10 - fi - let COUNT=COUNT+1 -done +done
\ No newline at end of file |