Demande #5463
Configurer unattended-upgrade pour faire les reboot / restart
Start date:
07/09/2021
Due date:
% Done:
0%
Estimated time:
Description
Automatiquement au lieu de manuellement
History
Updated by Loïc Dachary over 2 years ago
- Subject changed from Configurer unattended-upgrade pour faire les reboot to Configurer unattended-upgrade pour faire les reboot / restart
Updated by Loïc Dachary over 2 years ago
- Status changed from Nouveau to Résolu
- Assignee set to Loïc Dachary
=(^-^)=root@grof:/etc/apt/apt.conf.d# git show
commit c3c63e1a6c1ec1d132c53530b09a97a1774e71cf (HEAD -> master)
Author: Loïc Dachary <loic@dachary.org>
Date: Mon Jul 26 07:52:53 2021 +0200
Unattended upgrades can reboot when the kernel is updated
diff --git a/apt/apt.conf.d/50unattended-upgrades b/apt/apt.conf.d/50unattended-upgrades
index 4b37679..193b150 100644
--- a/apt/apt.conf.d/50unattended-upgrades
+++ b/apt/apt.conf.d/50unattended-upgrades
@@ -109,7 +109,7 @@ Unattended-Upgrade::Package-Blacklist {
// Automatically reboot *WITHOUT CONFIRMATION* if
// the file /var/run/reboot-required is found after the upgrade
-//Unattended-Upgrade::Automatic-Reboot "false";
+Unattended-Upgrade::Automatic-Reboot "true";
// Automatically reboot even if there are users currently logged in
// when Unattended-Upgrade::Automatic-Reboot is set to true
@@ -118,7 +118,7 @@ Unattended-Upgrade::Package-Blacklist {
// If automatic reboot is enabled and needed, reboot at the specific
// time instead of immediately
// Default: "now"
-//Unattended-Upgrade::Automatic-Reboot-Time "02:00";
+Unattended-Upgrade::Automatic-Reboot-Time "02:00";
// Use apt bandwidth limit feature, this example limits the download
// speed to 70kb/sec
Updated by Christian P. Momon over 2 years ago
- Target version changed from Backlog to Sprint 2021 été