Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save judexzhu/8819ddafc4b3765838d42eacb2723656 to your computer and use it in GitHub Desktop.
Save judexzhu/8819ddafc4b3765838d42eacb2723656 to your computer and use it in GitHub Desktop.
Proxmox disable subscription window permanent patch
cat > /etc/systemd/system/pve-patcher.service <<EOT
[Unit]
Description=PVE subscription popup disabler
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/sed -i "s/data.status !== 'Active'/false/g" /usr/share/pve-manager/js/pvemanagerlib.js /usr/share/pve-manager/touch/pvemanager-mobile.js
[Install]
WantedBy=pveproxy.service
EOT
systemctl daemon-reload
systemctl enable pve-patcher.service
systemctl start pve-patcher.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment