Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternative method #5

Open
Amplificator opened this issue Aug 1, 2020 · 4 comments
Open

Alternative method #5

Amplificator opened this issue Aug 1, 2020 · 4 comments

Comments

@Amplificator
Copy link

By using this mode:

sed "s/NotFound/Active/g" /usr/share/perl5/PVE/API2/Subscription.pm

you make Proxmox think it has a valid subscription - wouldn't that be a more appropriate method of doing it, rather than just editing away the nag screen?

@lnxbil
Copy link
Owner

lnxbil commented Aug 2, 2020

That is actually a very nice idea. I haven't looked at the overall code in a while, only migrated the old hacks to new versions, but your idea is genius and very simple.

@Amplificator
Copy link
Author

Does that mean that an update is coming? :)

I love the idea of automatically running the command after updates.

@rickycodes
Copy link

came here after running the install steps for this project and it didn't work :(

I tried the above approach and it works nicely!

I also created a script if anybody else is curious: https://github.com/rickycodes/pve-no-subscription

It would be nice to also add an apt hook maybe i will do that some day

@lnxbil
Copy link
Owner

lnxbil commented Nov 23, 2020

Sorry, I didn't have time to incorporate this idea already, but If you're willing, you could just try to fix it in my repo and create a pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants