Skip to content

Commit

Permalink
images: Disable PerSourcePenalties on fedora-41
Browse files Browse the repository at this point in the history
Just like for Arch and RHEL 10.
  • Loading branch information
mvollmer committed Nov 14, 2024
1 parent 0cae780 commit 0735e1a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions images/scripts/fedora.setup
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,12 @@ dnf repoquery --installonly --latest-limit=-1 -q | xargs --no-run-if-empty rpm -
# pmlogger.service sometimes causes long shutdown hangs; disable all PCP services and timers
systemctl --all --legend=false list-units 'pm*' | awk '{print $1}' | xargs systemctl disable

if [ "${IMAGE#fedora-41*}" != "$IMAGE" ]; then
# Disable PerSourcePenalties, they interfere with the rapid failed
# logins performed by some tests.
echo "PerSourcePenalties no" >/etc/ssh/sshd_config.d/99-no-penalties.conf
fi

# reduce image size
dnf clean all
rm -rf /var/lib/mock/*-bootstrap
Expand Down

0 comments on commit 0735e1a

Please sign in to comment.