diff options
Diffstat (limited to 'examples/docker/bgp_demo/run_terminals.sh')
-rwxr-xr-x | examples/docker/bgp_demo/run_terminals.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/docker/bgp_demo/run_terminals.sh b/examples/docker/bgp_demo/run_terminals.sh new file mode 100755 index 000000000..e2f7e3e12 --- /dev/null +++ b/examples/docker/bgp_demo/run_terminals.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# Opens connections to hc2vpp containers + +xfce4-terminal --title=vpp1 --command="docker exec -it vpp1 \ + bash -c '/hc2vpp/bgp_demo/init/init.sh 1; exec $SHELL'" + +xfce4-terminal --title=vpp2 --command="docker exec -it vpp2 \ + bash -c '/hc2vpp/bgp_demo/init/init.sh 2; exec $SHELL'" |