diff options
author | Timoney, Dan (dt5972) <dt5972@att.com> | 2018-04-13 16:15:28 -0400 |
---|---|---|
committer | Timoney, Dan (dt5972) <dt5972@att.com> | 2018-04-13 16:15:28 -0400 |
commit | e89d2d839bfc778244edbdd76ee4a0f4329b84a9 (patch) | |
tree | 1fbfc1d912f1ffc0d5f730fddee70a3e49b38240 /installation | |
parent | 4eaa8413445e8194f6f0e1ba15fc1f027a9d62fb (diff) |
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) <dt5972@att.com>
Former-commit-id: 9144514849c23a2bcc9396123f02ba5990d98c55
Diffstat (limited to 'installation')
-rwxr-xr-x | installation/sdnc/src/main/scripts/startODL.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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} |