summaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-08-03 19:08:57 +0000
committerGerrit Code Review <gerrit@onap.org>2018-08-03 19:08:57 +0000
commit9a6c76b47fb97b7b1b8d446128f450acd3a5f872 (patch)
treeee427e9dbe30af79ecec91577ba6c7ec004151a3 /kubernetes
parentc171ac2408cfac0171f36f9415cc16dc03bb95f1 (diff)
parentdbbe9379f73bfd84b9b0bde2b700cb146faf0d0d (diff)
Merge "Fix feature config for clustering"
Diffstat (limited to 'kubernetes')
-rwxr-xr-xkubernetes/sdnc/resources/config/bin/startODL.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/kubernetes/sdnc/resources/config/bin/startODL.sh b/kubernetes/sdnc/resources/config/bin/startODL.sh
index 6383853c32..9d1ab768fb 100755
--- a/kubernetes/sdnc/resources/config/bin/startODL.sh
+++ b/kubernetes/sdnc/resources/config/bin/startODL.sh
@@ -27,7 +27,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
@@ -118,5 +119,5 @@ then
echo "Installed at `date`" > ${SDNC_HOME}/.installed
fi
-exec ${ODL_HOME}/bin/karaf
+exec ${ODL_HOME}/bin/karaf server