summaryrefslogtreecommitdiffstats
path: root/boot/mr_vm_init.sh
blob: af17781a1f09ea1ebca2049c4ee65cd3e7de5c2b (plain)
1
2
3
4
5
6
7
#!/bin/bash

export MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)

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