summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmac <james.macnider@amdocs.com>2018-08-01 18:55:19 +0000
committerjmac <james.macnider@amdocs.com>2018-08-01 18:55:25 +0000
commit48b49470106c394ac0a83e34327763b41fd5f7f3 (patch)
treea627f6ee7bfac259b51c7d86d887e10b127c4f24
parentb08903f327f974cacb6a97737f9f3911d779eaa9 (diff)
Fix to config when clustering enabled
Change-Id: I6cbb36ea5a102dcdf04f9fb02a9a615738978bbd Signed-off-by: jmac <james.macnider@amdocs.com> Issue-ID: SDNC-411 Former-commit-id: f7ac41dcd8eb9b668686c53da7de062f865467bd
-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