Proxmox Automation using separate small keyboard

glennswest

New Member
Jun 1, 2023
23
7
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.