aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Timoney <dt5972@att.com>2018-08-02 20:57:39 +0000
committerGerrit Code Review <gerrit@onap.org>2018-08-02 20:57:39 +0000
commitde843f39a66db61039c8c5b218feedbaa7316783 (patch)
tree8be887a31e5cdd271892c75777ceb37845710948
parent7f6d320ccf47539d9baaaf177b0650d41bd12230 (diff)
parent48b49470106c394ac0a83e34327763b41fd5f7f3 (diff)
Merge "Fix to config when clustering enabled"
Former-commit-id: e6a644629985c7d8f2dcfea8db93efb96fc6fd0a
-rwxr-xr-xinstallation/sdnc/src/main/scripts/startODL.sh3
1 files changed, 2 insertions, 1 deletions
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