Edit startup.sh to use nano port env var if defined 93/4293/1
authorIdan Shalom <idan.shalom@intl.att.com>
Wed, 1 Jul 2020 11:44:23 +0000 (11:44 +0000)
committerIdan Shalom <idan.shalom@intl.att.com>
Wed, 1 Jul 2020 11:44:28 +0000 (11:44 +0000)
Change-Id: Ie5029c8f7072588f930ceb98da9685f152d175e2
Signed-off-by: Idan Shalom <idan.shalom@intl.att.com>
RIC-E2-TERMINATION/container-tag.yaml
RIC-E2-TERMINATION/startup.sh

index a007d6b..1d16a23 100644 (file)
@@ -1,3 +1,3 @@
 # The Jenkins job requires a tag to build the Docker image.
 # Global-JJB script assumes this file is in the repo root.
-tag: 5.0.7
+tag: 5.0.8
index 600a59e..dc3d679 100644 (file)
@@ -9,5 +9,8 @@ serviceIp=$(env | grep $fullServiceName | awk '{split($0,ip,"="); print ip[2]}')
 echo "service ip is $serviceIp"
 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/external-fqdn=$serviceIp/g" "/opt/e2/config/config.conf"
+if [[ -v nano ]]; then
+       sed -i "s/nano=38000/nano=$nano/g" "/opt/e2/config/config.conf"
+fi
 cat "/opt/e2/config/config.conf"
 ./e2 -p config -f config.conf