Proxmox Automation using separate small keyboard

glennswest

New Member
Jun 1, 2023
23
6
3
Loving my new proxmox build. I have different vm's for different workflows. (They often use the same resources, so I must shutdown one to use another).
I would like to have a small function keyboard that I can push a button to shutdown a vm and start a different.
Anyone done this? Example script.
Currently looking at 5-6 different vm's.

Would plug this into host usb is expectation.
 
Yep - Think I will write a bit of code, given a list of "short-cut vm's", on button press, shutdown any in the list, and start the indicated vm.
And of course have a "honeypot" vm start at power on. Need to look if there a way to have a vm "restore" to save state for this one. So its always a "throw" away.
 
If you got a device with network access like a esp32 you could let it run a script on button press that uses SSH or the PVE API to start/stop a VM.
 

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!