Skip to content

Instantly share code, notes, and snippets.

@fizzyade
Created October 21, 2019 09:20
Show Gist options
  • Save fizzyade/1dd47d343c61775be0a3005c372b281c to your computer and use it in GitHub Desktop.
Save fizzyade/1dd47d343c61775be0a3005c372b281c to your computer and use it in GitHub Desktop.
Disable nag screen for Proxmox community edition
cat > /etc/systemd/system/pve-patcher.service <<EOT
[Unit]
Description=PVE subscription popup disabler
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/sed -i '/\sProxmox\.Utils\.checked_command\(.*\); \/\/ display subscription status/ s/\(\s*\)/\1\/\//' /usr/share/pve-manager/js/pvemanagerlib.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