192 |
- |
1 |
[commands]
|
|
|
2 |
# What kind of upgrade to perform:
|
|
|
3 |
# default = all available upgrades
|
|
|
4 |
# security = only the security upgrades
|
|
|
5 |
upgrade_type = default
|
|
|
6 |
random_sleep = 0
|
|
|
7 |
|
|
|
8 |
# Maximum time in seconds to wait until the system is on-line and able to
|
|
|
9 |
# connect to remote repositories.
|
|
|
10 |
network_online_timeout = 60
|
|
|
11 |
|
|
|
12 |
# To just receive updates use dnf-automatic-notifyonly.timer
|
|
|
13 |
|
|
|
14 |
# Whether updates should be downloaded when they are available, by
|
|
|
15 |
# dnf-automatic.timer. notifyonly.timer, download.timer and
|
|
|
16 |
# install.timer override this setting.
|
|
|
17 |
download_updates = yes
|
|
|
18 |
|
|
|
19 |
# Whether updates should be applied when they are available, by
|
|
|
20 |
# dnf-automatic.timer. notifyonly.timer, download.timer and
|
|
|
21 |
# install.timer override this setting.
|
|
|
22 |
apply_updates = yes
|
|
|
23 |
|
|
|
24 |
|
|
|
25 |
[emitters]
|
|
|
26 |
# Name to use for this system in messages that are emitted. Default is the
|
|
|
27 |
# hostname.
|
|
|
28 |
# system_name = my-host
|
|
|
29 |
|
|
|
30 |
# How to send messages. Valid options are stdio, email and motd. If
|
|
|
31 |
# emit_via includes stdio, messages will be sent to stdout; this is useful
|
|
|
32 |
# to have cron send the messages. If emit_via includes email, this
|
|
|
33 |
# program will send email itself according to the configured options.
|
|
|
34 |
# If emit_via includes motd, /etc/motd file will have the messages. if
|
|
|
35 |
# emit_via includes command_email, then messages will be send via a shell
|
|
|
36 |
# command compatible with sendmail.
|
|
|
37 |
# Default is email,stdio.
|
|
|
38 |
# If emit_via is None or left blank, no messages will be sent.
|
|
|
39 |
emit_via = stdio
|
|
|
40 |
|
|
|
41 |
|
|
|
42 |
[email]
|
|
|
43 |
# The address to send email messages from.
|
|
|
44 |
email_from = root@example.com
|
|
|
45 |
|
|
|
46 |
# List of addresses to send messages to.
|
|
|
47 |
email_to = root
|
|
|
48 |
|
|
|
49 |
# Name of the host to connect to to send email messages.
|
|
|
50 |
email_host = localhost
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
[command]
|
|
|
54 |
# The shell command to execute. This is a Python format string, as used in
|
|
|
55 |
# str.format(). The format function will pass a shell-quoted argument called
|
|
|
56 |
# `body`.
|
|
|
57 |
# command_format = "cat"
|
|
|
58 |
|
|
|
59 |
# The contents of stdin to pass to the command. It is a format string with the
|
|
|
60 |
# same arguments as `command_format`.
|
|
|
61 |
# stdin_format = "{body}"
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
[command_email]
|
|
|
65 |
# The shell command to use to send email. This is a Python format string,
|
|
|
66 |
# as used in str.format(). The format function will pass shell-quoted arguments
|
|
|
67 |
# called body, subject, email_from, email_to.
|
|
|
68 |
# command_format = "mail -Ssendwait -s {subject} -r {email_from} {email_to}"
|
|
|
69 |
|
|
|
70 |
# The contents of stdin to pass to the command. It is a format string with the
|
|
|
71 |
# same arguments as `command_format`.
|
|
|
72 |
# stdin_format = "{body}"
|
|
|
73 |
|
|
|
74 |
# The address to send email messages from.
|
|
|
75 |
email_from = root@example.com
|
|
|
76 |
|
|
|
77 |
# List of addresses to send messages to.
|
|
|
78 |
email_to = root
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
[base]
|
|
|
82 |
# This section overrides dnf.conf
|
|
|
83 |
|
|
|
84 |
# Use this to filter DNF core messages
|
|
|
85 |
debuglevel = 1
|