-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE REQUEST] salt.states.virt: support autostart for VMs #60700
Comments
@cbosdo FYI. |
@dseomn Thanks for the feature request: after 7 years working on and with libvirt I wasn't aware we could autostart domains! Since the |
@cbosdo Hello, does this still relevant? Can I try to implement this? |
Yes it's still relevant. The functions to change are |
Is this feature implemented yet? And also, is it implemented for virsh networks as well? |
Yes it's implemented for domains and networks. I'll close the issue, thanks for the heads up |
Describe the solution you'd like
It would be nice to have a way to control whether a VM starts on boot or not. Maybe a new
autostart
option to salt.states.virt.running and/or salt.states.virt.defined? Or maybe a new function?Describe alternatives you've considered
I'll probably use salt.modules.virt.set_autostart for now.
The text was updated successfully, but these errors were encountered: