diff options
Diffstat (limited to 'nokia/vnfmdriver/vfcadaptorservice/docker/instance-config.sh')
-rwxr-xr-x | nokia/vnfmdriver/vfcadaptorservice/docker/instance-config.sh | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/nokia/vnfmdriver/vfcadaptorservice/docker/instance-config.sh b/nokia/vnfmdriver/vfcadaptorservice/docker/instance-config.sh index 1631cc59..8bfc9b35 100755 --- a/nokia/vnfmdriver/vfcadaptorservice/docker/instance-config.sh +++ b/nokia/vnfmdriver/vfcadaptorservice/docker/instance-config.sh @@ -16,15 +16,8 @@ # # Config MSB address MSB_IP=`echo $MSB_ADDR | cut -d: -f 1` -MSB_PORT=`echo $MSB_ADDR | cut -d: -f 2` -if [ $MSB_PORT ]; then - sed -i "s|127\.0\.0\.1|${MSB_IP}|" etc/conf/restclient.json -fi - -if [ $MSB_PORT ]; then - sed -i "s|80|${$MSB_PORT}|" etc/conf/restclient.json -fi +sed -i "s|127\.0\.0\.1|${MSB_IP}|" etc/conf/restclient.json cat etc/conf/restclient.json |