Proxmox VE 6.4 日常升级命令
移除未使用的Linux内核
pvekclean
更新软件:
apt update -y && apt dist-upgrade -y
去掉未订阅的提示,支持 PVE 6.3 / 6.4
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