randomize reboot time to avoid overloading proxmox and the nfs

main
_shirenn 2022-12-17 16:32:31 +01:00
parent a2f4d70f4d
commit bf9cded6d5
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ Unattended-Upgrade::Automatic-Reboot "{{ unattended.automatic_reboot | default(f
// If automatic reboot is enabled and needed, reboot at the specific
// time instead of immediately
// Default: "now"
Unattended-Upgrade::Automatic-Reboot-Time "04:00";
Unattended-Upgrade::Automatic-Reboot-Time "{{2 + (3 | random(seed=inventory_hostname+".reboot")) }}:{{ 60 | random(seed=inventory_hostname+".reboot") }}";
// Use apt bandwidth limit feature, this example limits the download
// speed to 70kb/sec