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 ;)
 

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!