Proxmox/Nag Buster: Difference between revisions
< Proxmox
(Created page with "== pve-nag-buster == GitHub - foundObjects/pve-nag-buster: Persistent license nag removal for Proxmox VE 5.x+ https://github.com/foundObjects/pve-nag-buster <blockquote> pve-nag-buster is a dpkg hook script that persistently removes license nags from Proxmox VE 6.x and up. Install it once and you won't see another license nag until the Proxmox team changes their web-ui code in a way that breaks the patch. </blockquote> == Manual Install == wget https://raw.githubu...") |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 17: | Line 17: | ||
# or .. | # or .. | ||
chmod +x install.sh && sudo ./install.sh | chmod +x install.sh && sudo ./install.sh | ||
All in one as root: | |||
wget https://raw.githubusercontent.com/foundObjects/pve-nag-buster/master/install.sh ; bash install.sh ; rm install.sh | |||
== Git Install == | == Git Install == | ||
apt update | |||
apt install -y git | |||
cd /opt | |||
git clone https://github.com/foundObjects/pve-nag-buster.git | git clone https://github.com/foundObjects/pve-nag-buster.git | ||
cd /opt/pve-nag-buster | |||
git pull | |||
# Always read scripts downloaded from the internet before running them with sudo | # Always read scripts downloaded from the internet before running them with sudo | ||
cd /opt | |||
cd pve-nag-buster && sudo ./install.sh | cd pve-nag-buster && sudo ./install.sh | ||
Note: rerun nag buster after any significant Proxmox apt system update | |||
== Uninstall == | == Uninstall == | ||
Line 30: | Line 42: | ||
sudo ./install.sh --uninstall | sudo ./install.sh --uninstall | ||
# remove /etc/apt/sources.list.d/pve-no-subscription.list if desired | # remove /etc/apt/sources.list.d/pve-no-subscription.list if desired | ||
== Alternatives == | |||
=== Ansible Method === | |||
<pre> | |||
# See https://dannyda.com/2020/11/13/how-to-remove-you-do-not-have-a-valid-subscription-for-this-server-from-proxmox-backup-server-pbs-1-0-1/ | |||
# and 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/ | |||
- name: Remove "No valid subscription" popup on login to webgui | |||
# hosts: vm | |||
hosts: all | |||
become: yes | |||
tasks: | |||
- replace: | |||
path: /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js | |||
regexp: "res === null \\|\\| res === undefined \\|\\| \\!res \\|\\| res\\n\\t\\t\\t.data.status.toLowerCase\\(\\) \\!== 'active'" | |||
replace: "false" | |||
backup: yes | |||
</pre> | |||
ref: https://github.com/cthart/ansible/blob/main/proxmox/remove_nag.yml | |||
=== Fake Registration === | |||
ref: https://github.com/Jamesits/pve-fake-subscription | |||
== References == | |||
* https://www.reddit.com/r/Proxmox/comments/tgojp1/removing_proxmox_subscription_notice/ | |||
== keywords == |
Latest revision as of 19:53, 6 October 2024
pve-nag-buster
GitHub - foundObjects/pve-nag-buster: Persistent license nag removal for Proxmox VE 5.x+ https://github.com/foundObjects/pve-nag-buster
pve-nag-buster is a dpkg hook script that persistently removes license nags from Proxmox VE 6.x and up. Install it once and you won't see another license nag until the Proxmox team changes their web-ui code in a way that breaks the patch.
Manual Install
wget https://raw.githubusercontent.com/foundObjects/pve-nag-buster/master/install.sh
# Always read scripts downloaded from the internet before running them with sudo sudo bash install.sh
# or .. chmod +x install.sh && sudo ./install.sh
All in one as root:
wget https://raw.githubusercontent.com/foundObjects/pve-nag-buster/master/install.sh ; bash install.sh ; rm install.sh
Git Install
apt update apt install -y git
cd /opt git clone https://github.com/foundObjects/pve-nag-buster.git
cd /opt/pve-nag-buster git pull
# Always read scripts downloaded from the internet before running them with sudo cd /opt cd pve-nag-buster && sudo ./install.sh
Note: rerun nag buster after any significant Proxmox apt system update
Uninstall
sudo ./install.sh --uninstall # remove /etc/apt/sources.list.d/pve-no-subscription.list if desired
Alternatives
Ansible Method
# See https://dannyda.com/2020/11/13/how-to-remove-you-do-not-have-a-valid-subscription-for-this-server-from-proxmox-backup-server-pbs-1-0-1/ # and 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/ - name: Remove "No valid subscription" popup on login to webgui # hosts: vm hosts: all become: yes tasks: - replace: path: /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js regexp: "res === null \\|\\| res === undefined \\|\\| \\!res \\|\\| res\\n\\t\\t\\t.data.status.toLowerCase\\(\\) \\!== 'active'" replace: "false" backup: yes
ref: https://github.com/cthart/ansible/blob/main/proxmox/remove_nag.yml
Fake Registration
ref: https://github.com/Jamesits/pve-fake-subscription