configuration-templates – Blame information for rev 88

Subversion Repositories:
Rev:
Rev Author Line No. Line
88 office 1 // Unattended-Upgrade::Origins-Pattern controls which packages are
2 // upgraded.
3 //
4 // Lines below have the format format is "keyword=value,...". A
5 // package will be upgraded only if the values in its metadata match
6 // all the supplied keywords in a line. (In other words, omitted
7 // keywords are wild cards.) The keywords originate from the Release
8 // file, but several aliases are accepted. The accepted keywords are:
9 // a,archive,suite (eg, "stable")
10 // c,component (eg, "main", "crontrib", "non-free")
11 // l,label (eg, "Debian", "Debian-Security")
12 // o,origin (eg, "Debian", "Unofficial Multimedia Packages")
13 // n,codename (eg, "jessie", "jessie-updates")
14 // site (eg, "http.debian.net")
15 // The available values on the system are printed by the command
16 // "apt-cache policy", and can be debugged by running
17 // "unattended-upgrades -d" and looking at the log file.
18 //
19 // Within lines unattended-upgrades allows 2 macros whose values are
20 // derived from /etc/debian_version:
21 // ${distro_id} Installed origin.
22 // ${distro_codename} Installed codename (eg, "jessie")
23 Unattended-Upgrade::Origins-Pattern {
24 // Codename based matching:
25 // This will follow the migration of a release through different
26 // archives (e.g. from testing to stable and later oldstable).
27 // "o=Debian,n=jessie";
28 // "o=Debian,n=jessie-updates";
29 // "o=Debian,n=jessie-proposed-updates";
30 // "o=Debian,n=jessie,l=Debian-Security";
31  
32 // Archive or Suite based matching:
33 // Note that this will silently match a different release after
34 // migration to the specified archive (e.g. testing becomes the
35 // new stable).
36 "o=Debian,a=stable";
37 "o=Debian,a=stable-updates";
38 "o=Debian,a=proposed-updates";
39 "origin=Debian,codename=${distro_codename},label=Debian-Security";
40 };
41  
42 // List of packages to not update (regexp are supported)
43 Unattended-Upgrade::Package-Blacklist {
44 // "vim";
45 // "libc6";
46 // "libc6-dev";
47 // "libc6-i686";
48 };
49  
50 // This option allows you to control if on a unclean dpkg exit
51 // unattended-upgrades will automatically run
52 // dpkg --force-confold --configure -a
53 // The default is true, to ensure updates keep getting installed
54 Unattended-Upgrade::AutoFixInterruptedDpkg "true";
55  
56 // Split the upgrade into the smallest possible chunks so that
57 // they can be interrupted with SIGUSR1. This makes the upgrade
58 // a bit slower but it has the benefit that shutdown while a upgrade
59 // is running is possible (with a small delay)
60 Unattended-Upgrade::MinimalSteps "true";
61  
62 // Install all unattended-upgrades when the machine is shuting down
63 // instead of doing it in the background while the machine is running
64 // This will (obviously) make shutdown slower
65 Unattended-Upgrade::InstallOnShutdown "false";
66  
67 // Send email to this address for problems or packages upgrades
68 // If empty or unset then no email is sent, make sure that you
69 // have a working mail setup on your system. A package that provides
70 // 'mailx' must be installed. E.g. "user@example.com"
71 Unattended-Upgrade::Mail "root";
72  
73 // Set this value to "true" to get emails only on errors. Default
74 // is to always send a mail if Unattended-Upgrade::Mail is set
75 Unattended-Upgrade::MailOnlyOnError "true";
76  
77 // Do automatic removal of new unused dependencies after the upgrade
78 // (equivalent to apt-get autoremove)
79 Unattended-Upgrade::Remove-Unused-Dependencies "true";
80  
81 // Automatically reboot *WITHOUT CONFIRMATION* if
82 // the file /var/run/reboot-required is found after the upgrade
83 //Unattended-Upgrade::Automatic-Reboot "false";
84  
85 // If automatic reboot is enabled and needed, reboot at the specific
86 // time instead of immediately
87 // Default: "now"
88 //Unattended-Upgrade::Automatic-Reboot-Time "02:00";
89  
90 // Use apt bandwidth limit feature, this example limits the download
91 // speed to 70kb/sec
92 //Acquire::http::Dl-Limit "70";