How do I keep the subscription server ID the same after reinstalling PVE on a machine?

tbjers

New Member
Aug 8, 2022
4
0
1
I am using Ansible to provision and deploy PVE to my bare-metal servers in my home lab. This works great, although I noticed that the Server ID changes with each new OS installation, even when the hardware is exactly the same. Is there a way to keep the server ID the same for each machine?

Haven't been able to find any info on this through search engines or in this forum, perhaps I am not using the correct terms when searching, or there's no documentation for this particular case.

Is it possible to set the Server ID and subscription key programmatically, somehow?

I noticed that if I recreate /etc/apt/auth.conf.d/pve.conf file with the subscription key and previous machine ID, I can at least access the enterprise repo to install, which was great. However, the PVE instance still thinks it has no license.

Not a massive deal since I only have two physical machines with 1 CPU each, so adding the license manually can be done, but dang do I hate doing things manually...

Thankful for your insight!
 
Last edited:
This is not so helpful for customers in UK because ProxMox forces us to get our licenses through a local dealer for VAT reasons and it's a royal PITA to get them re-issued when a server is rebuilt. Why isn't it possible for us to manage our purchased licenses through the normal ProxMox portal once they are paid for?

It's almost as if the dealer owns them rather than the customer that paid for them and expects the same level of service as anyone elsewhere in the world.
 
This is not so helpful for customers in UK because ProxMox forces us to get our licenses through a local dealer for VAT reasons and it's a royal PITA to get them re-issued when a server is rebuilt. Why isn't it possible for us to manage our purchased licenses through the normal ProxMox portal once they are paid for?

It's almost as if the dealer owns them rather than the customer that paid for them and expects the same level of service as anyone elsewhere in the world.
I don't know exactly what the situation currently is and what could be possible or not. But can you please bring that up either in our shop or via office@proxmox.com? Those would be the best channels to discuss this :)
 
Thanks for replying Aaron.

I’ll do as you suggest, but for future reference, when UK went through Brexit, ProxMox didn’t want the complexity of processing VAT for UK customers.

The licenses I ordered via the Proxmox website got cancelled (after I’d already installed them) and I was told to reorder from a UK reseller. My new licenses don’t show up in my Proxmox portal so I can’t manage them myself.