Merge "Migrate maven to freestyle for clm"
[releng/builder.git] / jenkins-scripts / mininet-fedora.sh
index 5fc0579d81c08e252db395c2392b58df815f9d02..4c5ed652330bd7096361fba296ae0c87e80eeb09 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
+/bin/bash disable_firewall.sh
+
+# install crudini command line tool for editing config files
+yum install -y crudini
 
 # vim: sw=2 ts=2 sts=2 et :