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