Add 'remove-nag.sh'

This commit is contained in:
wp 2021-08-30 23:00:03 -05:00
parent 23d4016a80
commit a337047127
1 changed files with 4 additions and 0 deletions

4
remove-nag.sh Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env sh
# https://dannyda.com/2020/05/17/how-to-remove-you-do-not-have-a-valid-subscription-for-this-server-from-proxmox-virtual-environment-6-1-2-proxmox-ve-6-1-2-pve-6-1-2/
sed -i.backup -z "s/res === null || res === undefined || \!res || res\n\t\t\t.data.status.toLowerCase() \!== 'active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
#systemctl restart pveproxy.service