Proxmox CMD Line automation

JohnJames

Member
Feb 16, 2021
9
0
6
40
I would like to automate the process of cloning/creating a VM. Can someone point me to some good reference material on CMDs that can be run. Also, when performing tasks in the GUI is there a place that shows the actual CMD issued?
 
I would like to automate the process of cloning/creating a VM. Can someone point me to some good reference material on CMDs that can be run.
Check the documentation: https://pve.proxmox.com/pve-docs/#_proxmox_ve_manual_pages

Those manual pages are also available on CLI, for example by executing man qm.

Also, when performing tasks in the GUI is there a place that shows the actual CMD issued?
You can normally use the browsers' developer console to get a network view with all API requests, also the documentation includes an API explorer: https://pve.proxmox.com/pve-docs/api-viewer/index.html

For a bit more info on the API and API clients in various languages see:
https://pve.proxmox.com/wiki/Proxmox_VE_API
 
  • Like
Reactions: Tmanok

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!