diff --git a/07.PVE制作TS服务器.md b/07.PVE制作TS服务器.md index 33faa08..7ae4a30 100644 --- a/07.PVE制作TS服务器.md +++ b/07.PVE制作TS服务器.md @@ -430,7 +430,7 @@ RandomizedDelaySec=0 设置完成后,重启自动更新定时器并检查其状态,执行以下命令。 -在输出结果中,看到系统自动更新的触发时间为 `02:00` 则表示设置正确。 +在输出结果中,看到系统自动更新的触发时间为 `12:00` 则表示设置正确。 ```bash ## 重启触发器 diff --git a/src/debian/debian_ts_50unattended_upgrades.conf b/src/debian/debian_ts_50unattended_upgrades.conf index b010b3c..e0f60a6 100644 --- a/src/debian/debian_ts_50unattended_upgrades.conf +++ b/src/debian/debian_ts_50unattended_upgrades.conf @@ -31,6 +31,7 @@ Unattended-Upgrade::Origins-Pattern { "origin=Debian,codename=${distro_codename},label=Debian"; "origin=Debian,codename=${distro_codename},label=Debian-Security"; "origin=Debian,codename=${distro_codename}-security,label=Debian-Security"; +// "o=Debian Backports,n=${distro_codename}-backports,l=Debian Backports"; "origin=Tailscale,codename=${distro_codename},label=Tailscale"; // Archive or Suite based matching: @@ -40,7 +41,7 @@ Unattended-Upgrade::Origins-Pattern { // "o=Debian,a=stable"; // "o=Debian,a=stable-updates"; // "o=Debian,a=proposed-updates"; -// "o=Debian Backports,a=${distro_codename}-backports,l=Debian Backports"; +// "o=Debian Backports,a=stable-backports,l=Debian Backports"; }; // Python regular expressions, matching packages to exclude from upgrading @@ -73,7 +74,7 @@ Unattended-Upgrade::Package-Blacklist { // Split the upgrade into the smallest possible chunks so that // they can be interrupted with SIGTERM. This makes the upgrade -// a bit slower but it has the benefit that shutdown while a upgrade +// a bit slower but it has the benefit that shutdown while an upgrade // is running is possible (with a small delay) //Unattended-Upgrade::MinimalSteps "true"; @@ -174,5 +175,5 @@ Unattended-Upgrade::Remove-Unused-Dependencies "true"; Unattended-Upgrade::Automatic-Reboot "true"; -Unattended-Upgrade::Automatic-Reboot-Time "03:00"; +Unattended-Upgrade::Automatic-Reboot-Time "13:00";