Modified start ramcloud script
diff --git a/start-ramcloud-coordinator.sh b/start-ramcloud-coordinator.sh
index bba962a..6a4232e 100755
--- a/start-ramcloud-coordinator.sh
+++ b/start-ramcloud-coordinator.sh
@@ -2,19 +2,14 @@
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${HOME}/ramcloud/bindings/java/edu/stanford/ramcloud:${HOME}/ramcloud/obj.blueprint-java
-function host2ip (){
- ip=`egrep "$1\$" /etc/hosts |grep -v "ip6"| awk '{print $1}'`
- echo $ip
-}
-
# Set paths
ONOS_HOME=`dirname $0`
RAMCLOUD_DIR=${HOME}/ramcloud
LOGDIR=${ONOS_HOME}/onos-logs
-RAMCLOUD_LOG=${LOGDIR}/ramcloudcoordinator.`hostname`.log
-thishost=`hostname`
-thisip=`host2ip $thishost`
-RAMCLOUD_COORDINATOR="fast+udp:host=$thisip,port=12242"
+RAMCLOUD_LOG=${LOGDIR}/ramcloud.coordinator.`hostname`.log
+coordinatorip=`grep coordinatorIp ${ONOS_HOME}/conf/ramcloud.conf | cut -d "=" -f 2,3`
+coordinatorport=`grep coordinatorPort ${ONOS_HOME}/conf/ramcloud.conf | cut -d "=" -f 2,3`
+RAMCLOUD_COORDINATOR=`echo $coordinatorip","$coordinatorport`
function lotate {
logfile=$1