config file

This commit is contained in:
Arne Teuke
2025-06-03 17:01:11 +02:00
parent 06388a2f71
commit 06fa35b7f8
2 changed files with 24 additions and 11 deletions

View File

@@ -5,30 +5,30 @@
# What kind of upgrade to perform:
# default = all available upgrades
# security = only the security upgrades
upgrade_type = default
random_sleep = 0
upgrade_type = <%= @ac_upgrade_type %>
random_sleep = <%= @ac_random_sleep %>
# Maximum time in seconds to wait until the system is on-line and able to
# connect to remote repositories.
network_online_timeout = 60
network_online_timeout = <%= @ac_network_online_timeout %>
# To just receive updates use dnf-automatic-notifyonly.timer
# Whether updates should be downloaded when they are available, by
# dnf-automatic.timer. notifyonly.timer, download.timer and
# install.timer override this setting.
download_updates = yes
download_updates = <%= @ac_download_updates %>
# Whether updates should be applied when they are available, by
# dnf-automatic.timer. notifyonly.timer, download.timer and
# install.timer override this setting.
apply_updates = no
apply_updates = <%= @ac_apply_updates %>
# When the system should reboot following upgrades:
# never = don't reboot after upgrades
# when-changed = reboot after any changes
# when-needed = reboot when necessary to apply changes
reboot = never
reboot = <%= @ac_reboot %>
# The command that is run to trigger a system reboot.
reboot_command = "shutdown -r +5 'Rebooting after applying package updates'"
@@ -48,12 +48,12 @@ reboot_command = "shutdown -r +5 'Rebooting after applying package updates'"
# command compatible with sendmail.
# Default is email,stdio.
# If emit_via is None or left blank, no messages will be sent.
emit_via = stdio
emit_via = <%= @ac_emit_via %>
[email]
# The address to send email messages from.
email_from = root@example.com
email_from = root@<%= @qfqdn %>
# List of addresses to send messages to.
email_to = root