原文参照
http://mirrors.ustc.edu.cn/help/proxmox.html
CT Templates
另外,如果你需要使用 Proxmox 网页端下载 CT Templates,可以替换 CT Templates 的源为 http://mirrors.ustc.edu.cn
。
具体方法:将 /usr/share/perl5/PVE/APLInfo.pm
文件中默认的源地址 http://download.proxmox.com
替换为 https://mirrors.ustc.edu.cn/proxmox
即可。
可以使用如下命令:cp /usr/share/perl5/PVE/APLInfo.pm /usr/share/perl5/PVE/APLInfo.pm_back sed -i ‘s|http://download.proxmox.com|https://mirrors.ustc.edu.cn/proxmox|g’ /usr/share/perl5/PVE/APLInfo.pm
针对 /usr/share/perl5/PVE/APLInfo.pm
文件的修改,执行systemctl restart pvedaemon
以生效