Files
sahara-image-elements/elements/disable-firewall
Luigi Toscano 6e663a7dff Disable firewalld (also on centos7) when it is enabled
Calling systemctl disable on a non-existing unit leads to a failure due
to `set -e`. This checks prevents it.
Also applies the same codepath to centos7 (as it is for rhel7, also
because centos7 has currently test coverage).

Closes-Bug: #1653535
Change-Id: I21f9cfd1959dcde80ed6abbf410bd0c4e93cc803
(cherry picked from commit 42d79a9828)
2017-01-09 14:11:26 +01:00
..

disable-firewall

This elements disables all firewalls on the image.

Recognized firewalls:

  • iptables
  • ip6tables
  • firewalld