added shell command to disable proxmox subscription reminder popup
This commit is contained in:
@@ -8,3 +8,6 @@
|
||||
- name: Ensure grub gets updated
|
||||
ansible.builtin.shell:
|
||||
cmd: update-grub
|
||||
- name: Ensure the built-in popup reminding to buy the subscription is disabled
|
||||
ansible.builtin.shell:
|
||||
cmd: echo "DPkg::Post-Invoke { \"if [ -s /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js ] && ! grep -q -F 'NoMoreNagging' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js; then echo 'Removing subscription nag from UI...'; sed -i '/data\.status/{s/\!//;s/active/NoMoreNagging/}' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js; fi\" };" > /etc/apt/apt.conf.d/no-nag-script
|
||||
|
||||
Reference in New Issue
Block a user