diff --git a/remove-nag.sh b/remove-nag.sh new file mode 100644 index 0000000..3401f04 --- /dev/null +++ b/remove-nag.sh @@ -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