Pour vérifier : https://chat.mistral.ai/chat/64d3820a-7e3a-409d-8d30-b31f143ed271
Proposition de profil :
config: {} description: Profil pour activer les unattended upgrades sur Ubuntu devices: {} name: unattended-upgrades used_by: [] cloud-init.user-data: | #cloud-config package_update: true package_upgrade: true packages: - unattended-upgrades - apt-listchanges write_files: - path: /etc/apt/apt.conf.d/20auto-upgrades content: | APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Unattended-Upgrade "1"; APT::Periodic::AutocleanInterval "7"; - path: /etc/apt/apt.conf.d/50unattended-upgrades content: | Unattended-Upgrade::Allowed-Origins { "${distro_id}:${distro_codename}"; "${distro_id}:${distro_codename}-security"; "${distro_id}ESM:${distro_codename}"; }; Unattended-Upgrade::Automatic-Reboot "false"; Unattended-Upgrade::Automatic-Reboot-Time "02:00"; Unattended-Upgrade::Remove-Unused-Dependencies "true"; runcmd: - [ systemctl, enable, --now, unattended-upgrades ]
Option de notification par email : Unattended-Upgrade::Mail "votre@email.com";
Unattended-Upgrade::Mail "votre@email.com";
Option de reboot auto : Unattended-Upgrade::Automatic-Reboot "true";
Unattended-Upgrade::Automatic-Reboot "true";
No dependencies set.
The note is not visible to the blocked user.
Pour vérifier :
https://chat.mistral.ai/chat/64d3820a-7e3a-409d-8d30-b31f143ed271
Proposition de profil :
Option de notification par email :
Unattended-Upgrade::Mail "votre@email.com";Option de reboot auto :
Unattended-Upgrade::Automatic-Reboot "true";