網頁

2015年4月22日

REMOVE THE PROXMOX “NO VALID SUBSCRIPTION” MESSAGE

You will need SSH access to the Proxmox host with the required access to edit the pvemanagerlib.js file.

First, take a backup of the file:
Then open the file using a text editor, vi for example.
Currently on line 519 of the file, however it may change with future updates, there is a line similar to below;(可以使用 :/ 搜尋,如: :/Active)
This line is doing the check to see if your subscription status is not ‘Active’. This needs to be changed to return false to stop the subscription message from being shown.
And that annoying little popup will be a thing of the past!
Note: You may need to clear your web browser cache after applying this code change.
(因Google瀏覽器無法即使反應更改過後資料,所以要按Enter重新強迫更新)
I have added this code to my Proxmox patch – see this blog post for more information.

沒有留言:

張貼留言