Skip to content

Instantly share code, notes, and snippets.

@tienthanh2509
Created December 24, 2023 06:40
Show Gist options
  • Save tienthanh2509/4f467f6c9fe7fad37f96a354449b03ae to your computer and use it in GitHub Desktop.
Save tienthanh2509/4f467f6c9fe7fad37f96a354449b03ae to your computer and use it in GitHub Desktop.
Proxmox remove subscription message
echo "DPkg::Post-Invoke { \"dpkg -V proxmox-widget-toolkit | grep -q '/proxmoxlib\.js$'; if [ \$? -eq 1 ]; then { echo 'Removing subscription nag from UI...'; sed -i '/data.status/{s/\!//;s/active/NoMoreNagging/}' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js; }; fi\"; };" >/etc/apt/apt.conf.d/no-nag-script
apt reinstall proxmox-widget-toolkit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment