summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Brady <pb071s@att.com>2017-03-03 08:32:40 -0800
committerPatrick Brady <pb071s@att.com>2017-03-03 08:32:48 -0800
commite07a8c99ed31eef04aaede1b33085b3d49d4db1a (patch)
treedca91dec28d5e616d797ca3f5f49ce70080aff29
parent3315088184b266066e89f8c9b220c6ad51c9d8e1 (diff)
Adding to installFeatures sh
Adding a line to modify 99-netconf-connector with new credentials during install. Change-Id: I40bc31a27f1cfd9d1890027c4bae5deaebc39652 Signed-off-by: Patrick Brady <pb071s@att.com>
-rw-r--r--installation/appc/src/main/scripts/installFeatures.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/installation/appc/src/main/scripts/installFeatures.sh b/installation/appc/src/main/scripts/installFeatures.sh
index 42446ce..ebf6dad 100644
--- a/installation/appc/src/main/scripts/installFeatures.sh
+++ b/installation/appc/src/main/scripts/installFeatures.sh
@@ -22,6 +22,9 @@ ${ODL_HOME}/bin/client -u karaf feature:install odl-netconf-connector-all
${ODL_HOME}/bin/client -u karaf feature:install odl-restconf-noauth
${ODL_HOME}/bin/client -u karaf feature:install odl-netconf-topology
+# When the karaf netconf feature gets installed, need to replace default password with OpenECOMP APP-C ODL Password
+sed -i 's/admin<\/password>/Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U<\/password>/' ${ODL_HOME}/etc/opendaylight/karaf/99-netconf-connector.xml
+
echo "Installing APP-C Features"
echo ""