Add support to start mongodb for python job
[releng/builder.git] / jenkins-scripts / mininet-fedora.sh
index 65e31b946405f0c16130f9f605702378eb6efab1..c9d31488c9fbe983317031e45959e73492615daf 100755 (executable)
@@ -7,12 +7,12 @@ jenkins     ALL = NOPASSWD: ALL
 EOF
 
 # allow 6640 to be used with OVS if needed
-semanage port -a -t openvswitch_port_t -p 6640
+semanage port -a -t openvswitch_port_t -p tcp 6640
 
-# make sure the firewall is stopped
-service iptables stop
+# make OVS run in permissive SELinux mode so that it can network connect
+semanage permissive -a openvswitch_t
 
-# stop firewall
-systemctl stop firewalld
+# make sure the firewall is stopped
+/bin/bash disable_firewall.sh
 
 # vim: sw=2 ts=2 sts=2 et :