Fix for old verify jobs
[releng/builder.git] / jenkins-scripts / mininet-fedora.sh
index 5fc0579d81c08e252db395c2392b58df815f9d02..c06bb2d5cb62a8cd55f7aeb2bd896d443abebb56 100755 (executable)
@@ -6,7 +6,16 @@ Defaults:jenkins !requiretty
 jenkins     ALL = NOPASSWD: ALL
 EOF
 
+# allow 6640 to be used with OVS if needed
+semanage port -a -t openvswitch_port_t -p tcp 6640
+
+# make OVS run in permissive SELinux mode so that it can network connect
+semanage permissive -a openvswitch_t
+
 # make sure the firewall is stopped
 service iptables stop
 
+# stop firewall
+systemctl stop firewalld
+
 # vim: sw=2 ts=2 sts=2 et :