Skip to content

Instantly share code, notes, and snippets.

@kylewlacy
Created October 3, 2021 00:31
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kylewlacy/926c74425199cd42bff96ceed0ca4ce2 to your computer and use it in GitHub Desktop.
Save kylewlacy/926c74425199cd42bff96ceed0ca4ce2 to your computer and use it in GitHub Desktop.
Systemd service to disable Proxmox VE nagware

Here's a Systemd service that will automatically disable the "No valid subscription" nagware dialog in Proxmox VE. I got the snippet to disable the dialog from this article from John's Computer Services.

  1. Save the systemd service to /etc/systemd/system/proxmox-patcher.service
  2. Save the shell script to /root/proxmox-patcher.sh
  3. Run chmod +x /root/proxmox-patcher.sh as root
  4. Run systemctl enable proxmox-patcher.service as root
  5. Restart
[Unit]
Description=Disable Proxmox nag screen
[Service]
Type=oneshot
ExecStart=/root/proxmox-patcher.sh
[Install]
WantedBy=pveproxy.service
#!/usr/bin/env bash
sed -Ezi.bak "s/(Ext.Msg.show\(\{\s+title: gettext\('No valid sub)/void\(\{ \/\/\1/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment