在公司最近测试KVM用的proxmox是免费版社区版的,所以每次都提示这个没有有效的订阅挺烦的!

Proxmox VE登陆的时候提示没有有效的订阅You do not have a valid subscription for this server. Please visit www.proxmox.com to get a list of available options.

解决方法:

修改文件/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js

修改之前记得先备份一下

root@kvm2:/usr/share/javascript/proxmox-widget-toolkit# cp proxmoxlib.js proxmoxlib.js.bak
root@kvm2:/usr/share/javascript/proxmox-widget-toolkit# ls
proxmoxlib.js  proxmoxlib.js.bak
root@kvm2:/usr/share/javascript/proxmox-widget-toolkit# vim proxmoxlib.js

然后找到if (data.status !== 'Active') {

Proxmox VE登陆的时候提示没有有效的订阅You do not have a valid subscription for this server. Please visit www.proxmox.com to get a list of available options.

修改为if (false) {

Proxmox VE登陆的时候提示没有有效的订阅You do not have a valid subscription for this server. Please visit www.proxmox.com to get a list of available options.

然后保存,重登陆查看还有的话清理一下浏览器的缓存应该就行了!

相关文章:

  • 2021-04-21
  • 2021-07-12
  • 2022-01-20
  • 2021-10-06
  • 2022-12-23
猜你喜欢
  • 2021-07-21
  • 2021-06-10
  • 2022-12-23
  • 2021-11-08
  • 2021-04-21
  • 2021-11-21
  • 2021-09-26
相关资源
相似解决方案