mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
Merge pull request #266 from berlin2123/patch-2
Update 1970-01-01-proxmox.md
This commit is contained in:
commit
2292c2c5ad
|
|
@ -33,3 +33,20 @@ deb https://{%endraw%}{{ site.hostname }}{%raw%}/proxmox/{{os_name}} {{release_n
|
|||
{%endraw%}
|
||||
|
||||
ISO安装文件下载:[https://{{ site.hostname }}/proxmox/iso/](https://{{ site.hostname }}/proxmox/iso/)
|
||||
|
||||
### CT Templates
|
||||
|
||||
如果你需要加速 Proxmox 网页端下载 CT Templates,可以替换 CT Templates 的源为 `https://{{ site.hostname }}`。
|
||||
|
||||
具体方法:将 `/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
|
||||
```
|
||||
|
||||
针对 `/usr/share/perl5/PVE/APLInfo.pm` 文件的修改,重启后生效。
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue