summaryrefslogtreecommitdiffstats
path: root/standalone/src/main/assembly/docker/instance_config.sh
blob: 8987eefeb59bfdab06b1578dd0797f8d8088f258 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

MSB_IP=`echo $MSB_ADDR | cut -d: -f 1`
MSB_PORT=`echo $MSB_ADDR | cut -d: -f 2`

sed -i "s|msbDiscoveryIp.*|msbDiscoveryIp: $MSB_IP|" /home/esr/conf/extsys.yml
sed -i "s|msbServerAddr.*|msbServerAddr: http://$MSB_IP:443|" /home/esr/conf/extsys.yml

cat /home/esr/conf/extsys.yml