pve-nag-buster/remove-nag.sh

5 lines
407 B
Bash
Raw Normal View History

2021-08-30 23:00:03 -05:00
#!/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