]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
vstart: clean prints
authorRoi Dayan <roid@mellanox.com>
Thu, 7 Apr 2016 08:35:03 +0000 (11:35 +0300)
committerRoi Dayan <roid@mellanox.com>
Tue, 12 Apr 2016 06:06:37 +0000 (09:06 +0300)
- remove duplicate print of ip
- print the right port

Signed-off-by: Roi Dayan <roid@mellanox.com>
src/vstart.sh

index c81a793245a299ba8c395ad0c987261ef32ce487..06125a5b881e6173368c0df6e2dd473145830667 100755 (executable)
@@ -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