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