Implement new options from upstream package

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-01-22 01:10:36 +01:00
parent c59a76bc66
commit 1c59adb761
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
2 changed files with 12 additions and 0 deletions

View file

@ -14,4 +14,7 @@ unattended_mail: "mail@example.com"
unattended_mail_only_on_error: false
unattended_minimal_steps: false
unattended_reboot_time: "now"
unattended_reboot_with_users: true
unattended_remove_unused_dependencies: false
unattended_syslog_enable: false
unattended_syslog_facility: "daemon"

View file

@ -47,7 +47,16 @@ Unattended-Upgrade::Remove-Unused-Dependencies "{{ unattended_remove_unused_depe
// if the file /var/run/reboot-required is found after the upgrade
Unattended-Upgrade::Automatic-Reboot "{{ unattended_automatic_reboot | to_json }}";
// Automatically reboot even if there are users currently logged in.
Unattended-Upgrade::Automatic-Reboot-WithUsers "{{ unattended_reboot_with_users | to_json }}";
// If automatic reboot is enabled and needed, reboot at the specific
// time instead of immediately
// Default: "now"
Unattended-Upgrade::Automatic-Reboot-Time "{{ unattended_reboot_time }}";
// Enable logging to syslog. Default is False
Unattended-Upgrade::SyslogEnable "{{ unattended_syslog_enable | to_json }}";
// Specify syslog facility. Default is daemon
Unattended-Upgrade::SyslogFacility "{{ unattended_syslog_facility }}";