summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/resources/config
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <adetalhouet89@gmail.com>2019-03-26 14:01:19 +0000
committerGerrit Code Review <gerrit@onap.org>2019-03-26 14:01:19 +0000
commit625ba79d8f18175704e53e57f198ee0055900316 (patch)
tree539f4e722dcfe16043bf5fa9a9d0734fccf4cb5a /kubernetes/sdnc/resources/config
parent597db668a5a0d3a516c151c50c406e9aebe7c481 (diff)
parentdbb5b682453d24bd03ef83f964a3983a0ddaaff6 (diff)
Merge "SDNC-665: Change to startODL for oam repo"
Diffstat (limited to 'kubernetes/sdnc/resources/config')
-rwxr-xr-xkubernetes/sdnc/resources/config/bin/startODL.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/kubernetes/sdnc/resources/config/bin/startODL.sh b/kubernetes/sdnc/resources/config/bin/startODL.sh
index d1b0c995d5..6718aaf128 100755
--- a/kubernetes/sdnc/resources/config/bin/startODL.sh
+++ b/kubernetes/sdnc/resources/config/bin/startODL.sh
@@ -80,6 +80,7 @@ function enable_odl_cluster(){
ODL_HOME=${ODL_HOME:-/opt/opendaylight/current}
ODL_ADMIN_PASSWORD=${ODL_ADMIN_PASSWORD:-Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U}
SDNC_HOME=${SDNC_HOME:-/opt/onap/sdnc}
+SDNC_BIN=${SDNC_BIN:-/opt/onap/sdnc/bin}
CCSDK_HOME=${CCSDK_HOME:-/opt/onap/ccsdk}
SLEEP_TIME=${SLEEP_TIME:-120}
MYSQL_PASSWD=${MYSQL_PASSWD:-{{.Values.config.dbRootPassword}}}
@@ -131,5 +132,10 @@ then
echo "Installed at `date`" > ${SDNC_HOME}/.installed
fi
+cp /opt/opendaylight/current/certs/* /tmp
+
+nohup python ${SDNC_BIN}/installCerts.py &
+
+
exec ${ODL_HOME}/bin/karaf server