diff --git a/cisco/iol/docker/entrypoint.sh b/cisco/iol/docker/entrypoint.sh index 6e397fe6..c0e57e88 100644 --- a/cisco/iol/docker/entrypoint.sh +++ b/cisco/iol/docker/entrypoint.sh @@ -1,6 +1,6 @@ #!/bin/bash -echo "Launching IOL" +echo "Launching IOL with PID" $IOL_PID # Clear ip addressing on eth0 (it 'belongs' to IOL now) ip addr flush dev eth0 @@ -18,4 +18,4 @@ max_eth=$(ls /sys/class/net | grep eth | grep -o -E '[0-9]+' | sort -n | tail -1 num_slots=$(( (max_eth + 4) / 4 )) # Start IOL -exec /iol/iol.bin 1 -e $num_slots -s 0 -c config.txt -n 1024 \ No newline at end of file +exec /iol/iol.bin $IOL_PID -e $num_slots -s 0 -c config.txt -n 1024