aboutsummaryrefslogtreecommitdiffstats
path: root/boot/mr_vm_init.sh
blob: bfc44c7d5ad997916184b050a68dffae5cb97bd0 (plain)
1
2
3
4
5
6
7
8
9
#!/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 &

bash dbcl_vm_init.sh &