PVE去除Web端弹窗和更换社区源
Web端去除弹窗 sed -i_orig "s/data.status === 'Active'/true/g" /usr/share/pve-manager/js/pvemanagerlib.js sed -i_orig "s/if (res === null || res === undefined || \!res || res/if(/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js sed -i_orig "s/.data.status.toLowerCase() !== 'active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js systemctl restart pveproxy 去除企业源使用社区源 1.把以下文件中的内容注释掉 /etc/apt/sources.list.d/ceph.list /etc/apt/sources.list.d/pve-enterprise.list 2.在/etc/apt/sources.list文件中添加社区源 deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription