June 7, 201610 yr I would like to have a VM assigned to my power on button on my unRAID box, or have a USB mini keyboard attached that at a press of a button would start the assigned VM. On pressing the power button to my machine a VM with the button assigned would start, the power button for the duration of the VMs life will be assigned to this VM. or an externally accessible API, that I could program some commands to from another device, iPhone,Webpage etc. with easier control than having to fiddly page through the unRAID web interface.
June 7, 201610 yr I would like to have a VM assigned to my power on button on my unRAID box, or have a USB mini keyboard attached that at a press of a button would start the assigned VM. On pressing the power button to my machine a VM with the button assigned would start, the power button for the duration of the VMs life will be assigned to this VM. or an externally accessible API, that I could program some commands to from another device, iPhone,Webpage etc. with easier control than having to fiddly page through the unRAID web interface. There's a Libvirt WOL plugin to 'wake' VM's. You just send a wake on lan packet on your network with the mac of the VM and it will start the VM. The VM has to be stopped or hibernated. It can't wake a sleeping or paused VM. So you can use a WOL app to wake a VM.
June 7, 201610 yr So would a USB keyboard assigned to a VM pass keystrokes to unRAID if the VM is stopped? This would be ideal as the VM keyboard could be used to start it up. I LOVED the keyboard power button on old Macs but Apple stopped implementing due to safety concerns, I believe.
June 7, 201610 yr So would a USB keyboard assigned to a VM pass keystrokes to unRAID if the VM is stopped? This would be ideal as the VM keyboard could be used to start it up. I LOVED the keyboard power button on old Macs but Apple stopped implementing due to safety concerns, I believe. I'm not sure if there's a hotkey program for slackware without a desktop. There's usually options for linux with desktops. I'm also not sure if you'd have to stop and start the hotkey app as you start and stop the VM.
July 24, 20169 yr currently i am using the VM Wol Plugin and a tiny WOL app on my Windows 10 driven Phone. I also would appreciate if the local System powerbutton could be abused for managing a prefered VM Power
August 3, 20169 yr I currently have the reset button on my case disconnected as it is largely useless (and dangerous with young fingers in the house) within UnRaid. It would be awesome if the reset button could somehow be retasked as a VM power button.
August 23, 20169 yr I have made a feature request for an unraid API.unRAID API. It is not a perfect fix for this but could provide a work around solution by: using an arduino physical button executing an API command. using you home automation system to execute the command simple webpage to control vm I just thought of another option while writing this post that may work without the API is: Button --> Arduino --> USB/onboard serial --> unraid script to watch and execute the vm control command. A very quick search has brought up the following post that might help. Link. They have used Perl in this example which is part of the Nerd Tools. This would be a relatively simple arduino project and may do it myself when I build my next unraid/htpc machine.
August 23, 20169 yr Just to add to that, you could run the monitoring script using the plugin User Scripts.
Archived
This topic is now archived and is closed to further replies.