natapp project jenkins builder jobs
[releng/builder.git] / jenkins-scripts / mininet-fedora.sh
index 5fc0579d81c08e252db395c2392b58df815f9d02..c9d31488c9fbe983317031e45959e73492615daf 100755 (executable)
@@ -6,7 +6,13 @@ 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
+/bin/bash disable_firewall.sh
 
 # vim: sw=2 ts=2 sts=2 et :