summaryrefslogtreecommitdiffstats
path: root/boot/asdc_vm_init.sh
diff options
context:
space:
mode:
authorplatania <platania@research.att.com>2017-02-23 12:21:02 -0500
committerplatania <platania@research.att.com>2017-02-23 12:21:02 -0500
commitb22c5188b5979d4952010393eb2c51ada2905c27 (patch)
treeea6d181352e4ffd0b0a3506c434241ba9dcd51a4 /boot/asdc_vm_init.sh
parent6e966682a4e000b4fd57740e5a44d089230f1d04 (diff)
update boot scripts
Change-Id: If96e0eb4130d1730aba0ef53901705fa7a17d64f Signed-off-by: platania <platania@research.att.com>
Diffstat (limited to 'boot/asdc_vm_init.sh')
-rw-r--r--boot/asdc_vm_init.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/boot/asdc_vm_init.sh b/boot/asdc_vm_init.sh
index 5a31c1ca..34c90746 100644
--- a/boot/asdc_vm_init.sh
+++ b/boot/asdc_vm_init.sh
@@ -19,6 +19,8 @@ chmod +x /data/scripts/docker_health.sh
IP_ADDRESS=$(ifconfig eth0 | grep "inet addr" | tr -s ' ' | cut -d' ' -f3 | cut -d':' -f2)
cat /data/environments/Template.json | sed "s/yyy/"$IP_ADDRESS"/g" > /data/environments/$ENV_NAME.json
sed -i "s/xxx/"$ENV_NAME"/g" /data/environments/$ENV_NAME.json
+sed -i "s/\"ueb_url_list\":.*/\"ueb_url_list\": \"10.0.11.1,10.0.11.1\",/g" /data/environments/$ENV_NAME.json
+sed -i "s/\"fqdn\":.*/\"fqdn\": [\"10.0.11.1\", \"10.0.11.1\"]/g" /data/environments/$ENV_NAME.json
docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO
bash /data/scripts/docker_run.sh -e $ENV_NAME -r $RELEASE -p 10001