Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save h2dcomputers/8798c7e887214e118ee00454c87dcec4 to your computer and use it in GitHub Desktop.

Select an option

Save h2dcomputers/8798c7e887214e118ee00454c87dcec4 to your computer and use it in GitHub Desktop.
ProxMox No-Subscription Banner Remove
For use with tutorial at:
#SSH into ProxMox node
ssh root@<ipaddress>
#change directory to ProxMox Widget Toolkit
cd /usr/share/javascript/proxmox-widget-toolkit
#Back up Proxmoxlib.js
cp proxmoxlib.js proxmoxlib.js.bak
#Edit Proxmoxlib.js
nano proxmoxlib.js
#Line of code to insert in proxmoxlib.js
return (typeof orig_cmd === "function" && (orig_cmd(), true));
#Single command to perform all functions in one step
cp /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js.bak && sed -i '/checked_command: function (orig_cmd) {$/a\ return (typeof orig_cmd === "function" && (orig_cmd(), true));' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service
@thettenhausen

Copy link
Copy Markdown

Doesn't seem to be working anymore after May 26th for me (9.2.3)

Its working for me (9.2.3). Try restarting pveproxy service and clear the browser cache.

You were right, I had restarted the service, but not cleared the cache. Still working fine!

@Goldwing1973

Copy link
Copy Markdown

Single command to perform all functions in one step works flawless on VE 9.2.3
Don't forget to clear browser cache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment