#!/bin/sh
#Get local host IP
hostIP=`grep "LOCAL_HOST_IP" /home/build/tools-tester.d/servers-local.conf | cut -d":" -f 2`
sed -i "s/http:\/\/localhost:8881/http:\/\/$hostIP:8881/g" `grep "http:\/\/localhost:8881" -rl /srv/itest/cases/gbs/`
sed -i "s/http:\/\/test:123456@localhost:8881/http:\/\/test:123456@$hostIP:8881/g" `grep "http:\/\/test:123456@localhost:8881" -rl /srv/itest/cases/gbs/`
