Automated VM Cloning, Starting and closing

S_N

New Member
Jan 18, 2024
3
0
1
I am new to working on Proxmox.


It is already set up, and the multiple VMs are working.


1) I want one VM to be cloned from Templete.


2) Start that VM.


3) On that VM, there will be some GitHub action jobs. And later, close that VM.


I want to automate these three steps. One idea I think could be having a github action runner on Proxmox. But I could disturb other VMs, which I don't want. Is there another way with the Rest API or any other action I can take to achieve my goal?
 
@fabian
Thanks for the answer.
I was already reading the API document, but there is vast documentation. Can you please guide me in a little more specific direction?
 
alternatively, you can also use your browser's dev console and see what kind of requests are triggered for certain actions, and then look those up in the API docs ;)