3 export MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
5 NEXUS_USERNAME=$(cat /opt/config/nexus_username.txt)
6 NEXUS_PASSWD=$(cat /opt/config/nexus_password.txt)
7 NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt)
9 docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO
11 cd /opt/startup-vm-message-router/demo
12 sed -i 's|wget .*|wget -q \"http://archive.apache.org/dist/kafka/${KAFKA_VERSION}/kafka_${SCALA_VERSION}-${KAFKA_VERSION}.tgz\" \\|g' deploy.sh
13 bash deploy.sh &>/dev/null &disown
16 bash dbcl_vm_init.sh &>/dev/null &disown