美文网首页
ProxmoxVE 7(PVE7)不订阅情况下升级+不弹窗

ProxmoxVE 7(PVE7)不订阅情况下升级+不弹窗

作者: blueboyggh | 来源:发表于2022-02-13 13:53 被阅读0次

1、不订阅情况下升级

在/etc/apt/sources.list.d/pve-enterprise.list中注释掉原有配置:
在/etc/apt/sources.list中添加:
deb https://mirrors.tuna.tsinghua.edu.cn/proxmox/debian bullseye pve-no-subscription

2、不订阅情况下不弹窗

打开/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
搜索“No valid subscription”
将所在代码块的判断语句从
if (res === null || res === undefined || !res || res.data.status.toLowerCase() !== ‘active’)
改为
if (false)
注销重新登陆

相关文章

网友评论

      本文标题:ProxmoxVE 7(PVE7)不订阅情况下升级+不弹窗

      本文链接:https://www.haomeiwen.com/subject/crwclrtx.html