From e89d2d839bfc778244edbdd76ee4a0f4329b84a9 Mon Sep 17 00:00:00 2001 From: "Timoney, Dan (dt5972)" Date: Fri, 13 Apr 2018 16:15:28 -0400 Subject: Create host key Call ccsdk create host key script to create karaf host key if needed before initial ODL startup. Change-Id: I04dba06652454c2f213e7a5ee86b7f9ed05b256c Issue-ID: CCSDK-241 Signed-off-by: Timoney, Dan (dt5972) Former-commit-id: 9144514849c23a2bcc9396123f02ba5990d98c55 --- installation/sdnc/src/main/scripts/startODL.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'installation') diff --git a/installation/sdnc/src/main/scripts/startODL.sh b/installation/sdnc/src/main/scripts/startODL.sh index 11d88e0a..fa1810b3 100755 --- a/installation/sdnc/src/main/scripts/startODL.sh +++ b/installation/sdnc/src/main/scripts/startODL.sh @@ -71,6 +71,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} +CCSDK_HOME=${CCSDK_HOME:-/opt/onap/ccsdk} SLEEP_TIME=${SLEEP_TIME:-120} MYSQL_PASSWD=${MYSQL_PASSWD:-openECOMP1.0} ENABLE_ODL_CLUSTER=${ENABLE_ODL_CLUSTER:-false} @@ -95,6 +96,7 @@ then echo "Installing SDN-C keyStore" ${SDNC_HOME}/bin/addSdncKeyStore.sh echo "Starting OpenDaylight" + ${CCSDK_HOME}/bin/installOdlHostKey.sh ${ODL_HOME}/bin/start echo "Waiting ${SLEEP_TIME} seconds for OpenDaylight to initialize" sleep ${SLEEP_TIME} -- cgit 1.2.3-korg