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