summaryrefslogtreecommitdiffstats
path: root/odlsli/src/main/scripts/installSdncDb.sh
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2018-02-27 14:10:22 -0500
committerTimoney, Dan (dt5972) <dt5972@att.com>2018-02-27 20:41:26 -0500
commit912f98b9cdfe0f636239b8f94fccf7858bffac26 (patch)
tree0bab8151af12780eabfcefad42464db7d24e0e8f /odlsli/src/main/scripts/installSdncDb.sh
parentb46add8acac65c428c55d9fbea4c329cf17a9af8 (diff)
Create nitrogen dockers
Updated dockers to install Nitrogen artifacts. Change-Id: I9710346f064fa5fff0d92b5d6de32cc84d9e1b3d Issue-ID: CCSDK-179 Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'odlsli/src/main/scripts/installSdncDb.sh')
-rw-r--r--odlsli/src/main/scripts/installSdncDb.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/odlsli/src/main/scripts/installSdncDb.sh b/odlsli/src/main/scripts/installSdncDb.sh
index eaac0221..efd7fe02 100644
--- a/odlsli/src/main/scripts/installSdncDb.sh
+++ b/odlsli/src/main/scripts/installSdncDb.sh
@@ -21,7 +21,7 @@
# ============LICENSE_END=========================================================
###
-SDNC_HOME=${SDNC_HOME:-/opt/onap/sdnc}
+CCSDK_HOME=${CCSDK_HOME:-/opt/onap/ccsdk}
MYSQL_PASSWD=${MYSQL_PASSWD:-openECOMP1.0}
SDNC_DB_USER=${SDNC_DB_USER:-sdnctl}
@@ -39,7 +39,7 @@ GRANT ALL PRIVILEGES ON ${SDNC_DB_DATABASE}.* TO '${SDNC_DB_USER}'@'%' WITH GRAN
commit;
END
-if [ -f ${SDNC_HOME}/data/odlsli.dump ]
+if [ -f ${CCSDK_HOME}/data/odlsli.dump ]
then
-mysql -h dbhost -u root -p${MYSQL_PASSWD} sdnctl < ${SDNC_HOME}/data/odlsli.dump
+mysql -h dbhost -u root -p${MYSQL_PASSWD} sdnctl < ${CCSDK_HOME}/data/odlsli.dump
fi