summaryrefslogtreecommitdiffstats
path: root/docker/ubuntu20-ci/docker-start
diff options
context:
space:
mode:
Diffstat (limited to 'docker/ubuntu20-ci/docker-start')
-rwxr-xr-xdocker/ubuntu20-ci/docker-start8
1 files changed, 8 insertions, 0 deletions
diff --git a/docker/ubuntu20-ci/docker-start b/docker/ubuntu20-ci/docker-start
new file mode 100755
index 000000000..9a45c722f
--- /dev/null
+++ b/docker/ubuntu20-ci/docker-start
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+if [ $(uname -a | grep -ci Ubuntu) -ge 1 ]; then
+ #for topotests under ubuntu host
+ sudo modprobe mpls-router mpls-iptunnel
+ sudo /etc/init.d/openvswitch-switch start
+fi
+while true ; do sleep 365d ; done