installing subscription key via cli ?

briceburg

New Member
Sep 26, 2012
19
0
1
Is it possible to install the proxmox subscription key via the CLI / command line interface / root shell?

We are trying to automate the provisioning of our proxmox cluster. I've searched in /etc/pve for clues but didn't find any.

Thanks!

~ Brice
 
Roger that. So I assume I should use:

pvesubscription set <key>
pvesubscription update -force=1

?

I'll update the command tools WIKI page
 
To set the key use:

# pvesubscription set <key>

The following updates the subscription status

# pvesubscription update -force

To print subscription status use

# pvesubscription get
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!