From ddd02aff41844cd9cffb7e9b60a68a5f65cbbf03 Mon Sep 17 00:00:00 2001 From: berlin2123 <68841407+berlin2123@users.noreply.github.com> Date: Sat, 15 May 2021 19:19:28 +0800 Subject: [PATCH] Update 1970-01-01-proxmox.md --- help/_posts/1970-01-01-proxmox.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/help/_posts/1970-01-01-proxmox.md b/help/_posts/1970-01-01-proxmox.md index ea0a3c0..9e6752f 100644 --- a/help/_posts/1970-01-01-proxmox.md +++ b/help/_posts/1970-01-01-proxmox.md @@ -36,17 +36,17 @@ ISO安装文件下载:[https://{{ site.hostname }}/proxmox/iso/](https://{{ si # CT Templates -如果你需要加速 Proxmox 网页端下载 CT Templates,可以替换 CT Templates 的源为 ``https://{{ site.hostname }}``。 +如果你需要加速 Proxmox 网页端下载 CT Templates,可以替换 CT Templates 的源为 `https://{{ site.hostname }}`。 -具体方法:将 `/usr/share/perl5/PVE/APLInfo.pm` 文件中默认的源地址 ``http://download.proxmox.com`` -替换为 ``https://{{ site.hostname }}/proxmox`` 即可。 +具体方法:将 `/usr/share/perl5/PVE/APLInfo.pm` 文件中默认的源地址 `http://download.proxmox.com` +替换为 `https://{{ site.hostname }}/proxmox` 即可。 可以使用如下命令修改: -:: - +``` cp /usr/share/perl5/PVE/APLInfo.pm /usr/share/perl5/PVE/APLInfo.pm_back sed -i 's|http://download.proxmox.com|https://{{ site.hostname }}/proxmox|g' /usr/share/perl5/PVE/APLInfo.pm +``` -针对 :file:`/usr/share/perl5/PVE/APLInfo.pm` 文件的修改,重启后生效。 +针对 `/usr/share/perl5/PVE/APLInfo.pm` 文件的修改,重启后生效。