sahara-image-elements/elements/disable-firewall
Luigi Toscano 42d79a9828 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
2017-01-02 18:38:30 +01:00
..
post-install.d Disable firewalld (also on centos7) when it is enabled 2017-01-02 18:38:30 +01:00
element-deps Start switching to declarative package-installs 2015-04-15 00:44:54 +08:00
package-installs.yaml Start switching to declarative package-installs 2015-04-15 00:44:54 +08:00
README.rst Improvements to README.rst of elements 2015-04-29 18:41:30 +02:00

disable-firewall

This elements disables all firewalls on the image.

Recognized firewalls:

  • iptables
  • ip6tables
  • firewalld