Merge "Adding 2 mininet VMs to the test and fix installed feature name"
[releng/builder.git] / jenkins-scripts / mininet-fedora.sh
index ded4e8bbc92184a285f12766662fe4a43d7c4d7e..c9d31488c9fbe983317031e45959e73492615daf 100755 (executable)
@@ -6,10 +6,13 @@ Defaults:jenkins !requiretty
 jenkins     ALL = NOPASSWD: ALL
 EOF
 
-# make sure the firewall is stopped
-service iptables stop
+# 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
 
-# stop firewall
-systemctl stop firewalld
+# make sure the firewall is stopped
+/bin/bash disable_firewall.sh
 
 # vim: sw=2 ts=2 sts=2 et :