sleep 1
# Start HoneyComb
+VERSION=$(cat /opt/config/artifacts_version.txt)
echo "" > /var/lib/honeycomb/persist/context/data.json
echo "" > /var/lib/honeycomb/persist/config/data.json
-/opt/honeycomb/sample-distribution-1.0.0/honeycomb &>/dev/null &disown
+/opt/honeycomb/sample-distribution-$VERSION/honeycomb &>/dev/null &disown
sleep 1
# Start VES client
sleep 1
# Start HoneyComb
+VERSION=$(cat /opt/config/artifacts_version.txt)
echo "" > /var/lib/honeycomb/persist/context/data.json
echo "" > /var/lib/honeycomb/persist/config/data.json
-/opt/honeycomb/sample-distribution-1.0.0/honeycomb &>/dev/null &disown
+/opt/honeycomb/sample-distribution-$VERSION/honeycomb &>/dev/null &disown
sleep 20
# Enable traffic flows
LB_OAM_INT=$(cat /opt/config/lb_oam_int.txt)
PID=$(cat /opt/config/local_private_ipaddr.txt)
+VERSION=$(cat /opt/config/artifacts_version.txt)
-java -jar dns-client-1.0.0.jar $PID $LB_OAM_INT 8888 10 0
+java -jar dns-client-$VERSION.jar $PID $LB_OAM_INT 8888 10 0
#!/bin/bash
MY_PUBLIC_IP=$(cat /opt/config/local_public_ipaddr.txt)
+VERSION=$(cat /opt/config/artifacts_version.txt)
-java -jar dns-manager-1.0.0.jar $MY_PUBLIC_IP 8888 10 3 0
+java -jar dns-manager-$VERSION.jar $MY_PUBLIC_IP 8888 10 3 0
sleep 1
# Start HoneyComb
+VERSION=$(cat /opt/config/artifacts_version.txt)
echo "" > /var/lib/honeycomb/persist/context/data.json
echo "" > /var/lib/honeycomb/persist/config/data.json
-/opt/honeycomb/sample-distribution-1.0.0/honeycomb &>/dev/null &disown
+/opt/honeycomb/sample-distribution-$VERSION/honeycomb &>/dev/null &disown
sleep 20
# Enable traffic flows