update 5.PVE制作虚拟机模板.md.

Signed-off-by: 秋刀狐狸 <alien_maker@qq.com>
This commit is contained in:
秋刀狐狸
2022-08-15 09:09:26 +00:00
committed by Gitee
parent 9245800904
commit 5070552b46
+3 -1
View File
@@ -292,7 +292,7 @@ APT::Periodic::AutocleanInterval "1";
APT::Periodic::CleanInterval "1";
```
其中,用来控制系统更新周期的为 `APT::Periodic::Unattended-Upgrade` 这行内容,其中的“5”表示更新周期为“5”天。
其中,用来控制系统更新周期的为 `APT::Periodic::Unattended-Upgrade` 这行内容,其中参数 `"5"` 表示更新周期为 `5` 天。
再调整 apt 的 `50unattended-upgrades` 配置文件,所有修改项目汇聚如下:
@@ -320,6 +320,8 @@ Unattended-Upgrade::Automatic-Reboot "true";
Unattended-Upgrade::Automatic-Reboot-Time "04:30";
```
因为该配置文件很长,文章中留下一份 Debian 中已配置好的文件 [Fox_Debian_50unattended_Upgrades.conf](./src/Fox_Debian_50unattended_Upgrades.conf) ,以便对比。
两个配置文件均修改完成后,需要重设系统自动更新触发器,执行以下命令:
```bash