From 580548474c9f9a168842c25b56d2b6aa71d4be15 Mon Sep 17 00:00:00 2001 From: Roi Dayan Date: Thu, 7 Apr 2016 11:35:03 +0300 Subject: [PATCH] vstart: clean prints - remove duplicate print of ip - print the right port Signed-off-by: Roi Dayan --- src/vstart.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/vstart.sh b/src/vstart.sh index c81a793245a29..06125a5b881e6 100755 --- a/src/vstart.sh +++ b/src/vstart.sh @@ -386,10 +386,9 @@ else IP="$(ifconfig | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p' | head -n1)" # if nothing left, try using localhost address, it might work if [ -z "$IP" ]; then IP="127.0.0.1"; fi - echo ip $IP fi echo "ip $IP" -echo "port $PORT" +echo "port $CEPH_PORT" [ -z $CEPH_ADM ] && CEPH_ADM=$CEPH_BIN/ceph