From 5070552b46a480904bcda2c6c1e81c88527dd76f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=8B=E5=88=80=E7=8B=90=E7=8B=B8?= Date: Mon, 15 Aug 2022 09:09:26 +0000 Subject: [PATCH] =?UTF-8?q?update=205.PVE=E5=88=B6=E4=BD=9C=E8=99=9A?= =?UTF-8?q?=E6=8B=9F=E6=9C=BA=E6=A8=A1=E6=9D=BF.md.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 秋刀狐狸 --- 5.PVE制作虚拟机模板.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/5.PVE制作虚拟机模板.md b/5.PVE制作虚拟机模板.md index 480ee8e..2857c25 100644 --- a/5.PVE制作虚拟机模板.md +++ b/5.PVE制作虚拟机模板.md @@ -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