Last active
March 27, 2017 19:53
-
-
Save erronjason/dded81f9996a64f7648f2d968d75a1b3 to your computer and use it in GitHub Desktop.
Disable Proxmox "license" nag via cron - we don't need no stinkin' support
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# This inserts a cronjob at the top of the hour to remove the | |
# license nag from proxmox. The command alone is: | |
# sed -i "s/data.status !== 'Active'/false/g" /usr/share/pve-manager/js/pvemanagerlib.js | |
crontab -l > tmpcron | |
echo "0 * * * * sed -i "s/data.status !== 'Active'/false/g" /usr/share/pve-manager/js/pvemanagerlib.js" >> tmpcron | |
crontab tmpcron | |
rm tmpcron |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment