diff options
author | Matthias Pigulla <mp@webfactory.de> | 2016-03-20 22:54:51 +0100 |
---|---|---|
committer | Matthias Pigulla <mp@webfactory.de> | 2016-03-21 08:39:56 +0100 |
commit | 5847fd26445ea45abcf5fca7044b2ee1a0888191 (patch) | |
tree | 4ea1ac7a6e11a74e049823897801b056d9c03786 /templates | |
parent | 767b3fb53e1502b2bcf6333af112b31eaa46fb52 (diff) |
Add parameter to control reboot time
Diffstat (limited to 'templates')
-rw-r--r-- | templates/unattended-upgrades.erb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/unattended-upgrades.erb b/templates/unattended-upgrades.erb index c73d58c..a87ff31 100644 --- a/templates/unattended-upgrades.erb +++ b/templates/unattended-upgrades.erb @@ -55,6 +55,11 @@ Unattended-Upgrade::Remove-Unused-Dependencies "<%= @_auto['remove'].to_s %>"; // if the file /var/run/reboot-required is found after the upgrade Unattended-Upgrade::Automatic-Reboot "<%= @_auto['reboot'].to_s %>"; +// If automatic reboot is enabled and needed, reboot at the specific +// time instead of immediately +// Default: "now" +Unattended-Upgrade::Automatic-Reboot-Time "<%= @_auto['reboot_time'].to_s %>"; + <%- unless @dl_limit.nil? -%> // Use apt bandwidth limit feature, this example limits the download // speed to 70kb/sec |