frodr Posted May 30, 2019 Share Posted May 30, 2019 (edited) Hi, Is there a way to schedule start/shut down for a VM? Edited May 30, 2019 by frodr Quote Link to comment
testdasi Posted May 30, 2019 Share Posted May 30, 2019 Yes. Use User Scripts plugin. Write a script to start / shut down the VM and schedule it using the same plugin. The commands are virsh start {domain-id, domain-name or domain-uuid} virsh shutdown {domain-id, domain-name or domain-uuid} virsh destroy {domain-id, domain-name or domain-uuid} First 2 are self-explanatory. Last one is a forced shutdown (the equivalent of unplugging it in old tech). Quote Link to comment
frodr Posted May 30, 2019 Author Share Posted May 30, 2019 3 hours ago, testdasi said: Yes. Use User Scripts plugin. Write a script to start / shut down the VM and schedule it using the same plugin. The commands are virsh start {domain-id, domain-name or domain-uuid} virsh shutdown {domain-id, domain-name or domain-uuid} virsh destroy {domain-id, domain-name or domain-uuid} First 2 are self-explanatory. Last one is a forced shutdown (the equivalent of unplugging it in old tech). Thanks. Quote Link to comment
Recommended Posts
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.