Cluster configuration script should copy initial configuration files. 65/29165/2
authorShaleen Saxena <ssaxena@brocade.com>
Mon, 2 Nov 2015 21:21:34 +0000 (16:21 -0500)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 4 Nov 2015 13:30:07 +0000 (13:30 +0000)
commit7086ff0638858d40e99055af3a16d64ea81010a5
tree18c38bf82c3e7ce1c0fbb5a2b83324c662e4dd6c
parente01f5b0ff7cdccfc44bf772b7a8835e0dcdc097a
Cluster configuration script should copy initial configuration files.

The current version of configure_cluster.sh script needs the odl-mdsal-clustering
feature to be pre-configured, so that the configuration/initial/ directory has
the necessary cluster config files.

This fix will copy the initial configuration files, if they do not exist
currently. Also, I fixed two other issues:
 - The script failed to run if it was executed in the bin directory.
 - Some lines had tabs instead of spaces.

Change-Id: Iee27a37ef681831bd4c3f8496694c52bdc1613e0
Signed-off-by: Shaleen Saxena <ssaxena@brocade.com>
distributions/karaf/src/main/assembly/bin/configure_cluster.sh