update startup.sh
Change-Id: Ibc3661e4268d7088312b9db653d976a747eb7b5e
Signed-off-by: aa7133@att.com <aa7133@att.com>
loglevel=debug
volume=log
#the key name of the environment holds the local ip address
+#ip address of the E2T in the RMR
local-ip=127.0.0.1
#trace is start, stop
trace=start
echo "environments service name is $fullServiceName"
serviceIp=$(env | grep $fullServiceName | awk '{split($0,ip,"="); print ip[2]}')
echo "service ip is $serviceIp"
-sed -i "s/external-fqdn=e2t.com/external-fqdn=$serviceIp/g" "/opt/e2/config/config.conf"
+sed -i "s/local-ip=127.0.0.1/local-ip=$serviceIp/g" "/opt/e2/config/config.conf"
+sed -i "s/external-fqdn=e2t.com/lexternal-fqdn=$serviceIp/g" "/opt/e2/config/config.conf"
cat "/opt/e2/config/config.conf"
./e2 -p config -f config.conf