summaryrefslogtreecommitdiffstats
path: root/boot/appc_vm_init.sh
diff options
context:
space:
mode:
authorplatania <platania@research.att.com>2017-02-22 11:20:22 -0500
committerplatania <platania@research.att.com>2017-02-22 11:20:22 -0500
commit4f98547c03dc9c8a295ae46e066ff09dd961d5a3 (patch)
tree5e7762e108feb7c81d1e7290a643ff611e9371f6 /boot/appc_vm_init.sh
parent8df4a643ae0d43a71e6e86c6be148386d99990ff (diff)
pointing boot scripts to LF
Change-Id: I60094d422a5bf013f878e6efbee7a04c605f4045 Signed-off-by: platania <platania@research.att.com>
Diffstat (limited to 'boot/appc_vm_init.sh')
-rw-r--r--boot/appc_vm_init.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/boot/appc_vm_init.sh b/boot/appc_vm_init.sh
index 1692a074..bbcf7128 100644
--- a/boot/appc_vm_init.sh
+++ b/boot/appc_vm_init.sh
@@ -6,8 +6,10 @@ NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt)
DMAAP_TOPIC=$(cat /opt/config/dmaap_topic.txt)
cd /opt/appc
+git pull
+cd /opt/appc/docker-compose
-sed -i "s/DMAAP_TOPIC_ENV=.*/DMAAP_TOPIC_ENV="$DMAAP_TOPIC"/g" /opt/appc/docker-compose.yml
+sed -i "s/DMAAP_TOPIC_ENV=.*/DMAAP_TOPIC_ENV="$DMAAP_TOPIC"/g" docker-compose.yml
docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO
/opt/docker/docker-compose pull