mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
Update 1970-01-01-proxmox.md
This commit is contained in:
parent
1dab780651
commit
ddd02aff41
|
|
@ -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` 文件的修改,重启后生效。
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue