How to give a user permission to virsh?


Recommended Posts

I have set up an iOS 12 Shortcut/Workflow action to call an SSH remote script against unraid which will resume a Windows 10 VM if it goes to sleep. I want to have this on my daughter's phone as she sometimes accidentally does this. I don't want to have to embed the root username and password though into the config. Is it possible to setup a user on unraid that just has access to manage VMs with virsh?

Link to comment

Look into Wake On LAN.
I use Mocha WOL on my iOS devices, in combination with WOL unsaid plugin.
It’s really simple to use once configured: start the app, click on “wake up” and click on the VM name in the list (your daughter would just have one to select from)

Setting it up is straight forward to, just need to plug in the IP and MAC address of the VM.


Sent from my iPhone using Tapatalk

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.