Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save axcelred/e21287db8f9c78e2e9a963e1a10f838e to your computer and use it in GitHub Desktop.

Select an option

Save axcelred/e21287db8f9c78e2e9a963e1a10f838e to your computer and use it in GitHub Desktop.

Revisions

  1. Akash Rajvanshi created this gist Feb 13, 2021.
    25 changes: 25 additions & 0 deletions Proxmox_Subscription.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,25 @@
    # Proxmox 6.2 and UP
    # STEP1 - ssh to your proxmox server

    # STEP2 - go to this dir
    $ cd /usr/share/javascript/proxmox-widget-toolkit/

    # STEP3 - create a backup of you proxmoxlib.js
    $ cp proxmoxlib.js proxmoxlib.js.bak

    # STEP3 - now edit proxmoxlib.js
    $ vim proxmoxlib.js
    # Search for
    Ext.Msg.show({
    title: gettext('No valid subscription'),

    # Replace with
    void({
    title: gettext('No valid subscription'),

    # STEP4 - Restart preproxy service
    $ systemctl restart pveproxy.service

    # To Check ( it'ss working or not )
    $ grep -n -B 1 'No valid sub' proxmoxlib.js
    # Note: After this clear browser cache and restart the browser