Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # automatic removal of Proxmox subscription reminder
- # proxmox_noreminder.sh
- PVEjs=/usr/share/pve-manager/ext6/pvemanagerlib.js
- grep -q 'if .data.status !== .Active' $PVEjs && {
- rm -f $PVEjs.bak
- sed -i.bak '/if .data.status !== .Active/s/!/=/' $PVEjs
- sed -i 's/You do not have a valid subscription for this server/This server is receiving updates from the Proxmox VE No-Subscription Repository/' $PVEjs
- sed -i 's/No valid subscription/Community Edition/' $PVEjs
- diff $PVEjs.bak $PVEjs
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement