summaryrefslogtreecommitdiffstats
path: root/docker/ubuntu18-ci/docker-start
diff options
context:
space:
mode:
Diffstat (limited to 'docker/ubuntu18-ci/docker-start')
-rwxr-xr-xdocker/ubuntu18-ci/docker-start8
1 files changed, 8 insertions, 0 deletions
diff --git a/docker/ubuntu18-ci/docker-start b/docker/ubuntu18-ci/docker-start
new file mode 100755
index 0000000..9a45c72
--- /dev/null
+++ b/docker/ubuntu18-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