From 48b49470106c394ac0a83e34327763b41fd5f7f3 Mon Sep 17 00:00:00 2001 From: jmac Date: Wed, 1 Aug 2018 18:55:19 +0000 Subject: Fix to config when clustering enabled Change-Id: I6cbb36ea5a102dcdf04f9fb02a9a615738978bbd Signed-off-by: jmac Issue-ID: SDNC-411 Former-commit-id: f7ac41dcd8eb9b668686c53da7de062f865467bd --- installation/sdnc/src/main/scripts/startODL.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/installation/sdnc/src/main/scripts/startODL.sh b/installation/sdnc/src/main/scripts/startODL.sh index 55c04a15..02fb888a 100755 --- a/installation/sdnc/src/main/scripts/startODL.sh +++ b/installation/sdnc/src/main/scripts/startODL.sh @@ -28,7 +28,8 @@ function enable_odl_cluster(){ fi echo "Installing Opendaylight cluster features" - cat $ODL_HOME/etc/org.apache.karaf.features.cfg | sed -e "\|featuresBoot=config|s|$|,odl-mdsal-clustering,odl-jolokia|" > $ODL_HOME/etc/org.apache.karaf.features.cfg + mv $ODL_HOME/etc/org.apache.karaf.features.cfg $ODL_HOME/etc/org.apache.karaf.features.cfg.orig + cat $ODL_HOME/etc/org.apache.karaf.features.cfg.orig | sed -e "\|featuresBoot=config|s|$|,odl-mdsal-clustering,odl-jolokia|" > $ODL_HOME/etc/org.apache.karaf.features.cfg #${ODL_HOME}/bin/client feature:install odl-mdsal-clustering #${ODL_HOME}/bin/client feature:install odl-jolokia -- cgit 1.2.3-korg