diskimage-builder/diskimage_builder/elements/fail2ban
Charalampos Kominos b197d2c641 feat: Add new fail2ban elemenent
This patch proposes a new element which installs fail2ban on the final
image. More crucially, a custom jail.local is injected during built
time which is a useful feature for cloud admins.

Change-Id: I47b90bbf3809cd6f90148b848b2afe4233be79d7
Signed-off-by: Charalampos Kominos <hkominos@gmail.com>
2023-11-25 20:23:31 +00:00
..
post-install.d feat: Add new fail2ban elemenent 2023-11-25 20:23:31 +00:00
root.d feat: Add new fail2ban elemenent 2023-11-25 20:23:31 +00:00
element-deps feat: Add new fail2ban elemenent 2023-11-25 20:23:31 +00:00
package-installs.yaml feat: Add new fail2ban elemenent 2023-11-25 20:23:31 +00:00
README.rst feat: Add new fail2ban elemenent 2023-11-25 20:23:31 +00:00

fail2ban

This element installs the fail2ban binary from the upstream repositories. In the case of rocky linux, fail2ban lives in epel so the 'epel' element must also be included.

In addition, a compulsory jail.local is expected, localy on the build system, to be inserted in the final image.

Environment Variables

DIB_FAIL2BAN_CONF:
Required

Yes

Default

None

Description

The location of a fail2ban.conf file on the Builder system which will be injected into the image

Example

DIB_FAIL2BAN_CONF=~/home/jail.local