summaryrefslogtreecommitdiffstats
path: root/odlsli/src/main/scripts/installCcsdkFeatures.sh
diff options
context:
space:
mode:
Diffstat (limited to 'odlsli/src/main/scripts/installCcsdkFeatures.sh')
-rw-r--r--odlsli/src/main/scripts/installCcsdkFeatures.sh13
1 files changed, 8 insertions, 5 deletions
diff --git a/odlsli/src/main/scripts/installCcsdkFeatures.sh b/odlsli/src/main/scripts/installCcsdkFeatures.sh
index 1ae108b2..4ee03e39 100644
--- a/odlsli/src/main/scripts/installCcsdkFeatures.sh
+++ b/odlsli/src/main/scripts/installCcsdkFeatures.sh
@@ -55,11 +55,14 @@ CCSDK_NORTHBOUND_VERSION=${CCSDK_NORTHBOUND_VERSION:-0.0.1-SNAPSHOT}
CCSDK_PLUGINS_VERSION=${CCSDK_PLUGINS_VERSION:-0.0.1-SNAPSHOT}
echo "Enabling core features"
-${ODL_HOME}/bin/client feature:install odl-mdsal-all
-${ODL_HOME}/bin/client feature:install odl-mdsal-apidocs
-${ODL_HOME}/bin/client feature:install odl-restconf-all
-
-
+${ODL_HOME}/bin/client feature:install odl-restconf-all odl-mdsal-all odl-mdsal-apidocs
+
+# Remove etc/host.key if it exists to work around
+# issue with client authentication
+if [ -f ${ODL_HOME}/etc/host.key ]
+then
+ rm ${ODL_HOME}/etc/host.key
+fi
echo "Installing CCSDK sli/core"