Files
configpolicy/roles/dnf-automatic/files/pre-reboot.sh
Dustin C. Hatch dc8961de92 fluent-bit: Do not apply to K8s nodes
We'll manage Fluent-Bit on Kubernetes nodes as a DaemonSet.  This will
be necessary in order to grant it access to the Kubernetes API so it can
augment log records with Kubernetes metadata (labels, pod name, etc.).
2025-10-17 07:51:32 -05:00

8 lines
146 B
Bash

#!/bin/sh
find /etc/dnf/automatic/pre-reboot.d \
-type f \
-perm -u+x \
-exec {} \;
shutdown -r +5 'Rebooting after applying package updates'