Proxmox/Nag Buster: Difference between revisions

From Omnia
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 28: Line 28:
  cd /opt
  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 /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 ==

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

References

keywords