From 41790f402053d3637a3e9201e6e00fe537e8b3cd Mon Sep 17 00:00:00 2001 From: su622b Date: Thu, 19 Apr 2018 18:00:21 -0400 Subject: Updated the docker image Issue-ID: DMAAP-433 Change-Id: Ia0c9ca8d3b3297e389d25925f341f0dcd2438dea Signed-off-by: su622b --- boot/mr_vm_init.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'boot') diff --git a/boot/mr_vm_init.sh b/boot/mr_vm_init.sh index bfc44c7d..f0626762 100644 --- a/boot/mr_vm_init.sh +++ b/boot/mr_vm_init.sh @@ -2,6 +2,13 @@ export MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1) +NEXUS_USERNAME=$(cat /opt/config/nexus_username.txt) +NEXUS_PASSWD=$(cat /opt/config/nexus_password.txt) +NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt) +DOCKER_IMAGE_VERSION=$(cat /opt/config/docker_version.txt) + +docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO + cd /opt/dcae-startup-vm-message-router sed -i 's|wget .*|wget -q \"http://archive.apache.org/dist/kafka/${KAFKA_VERSION}/kafka_${SCALA_VERSION}-${KAFKA_VERSION}.tgz\" \\|g' deploy.sh bash deploy.sh & -- cgit 1.2.3-korg