Skip to content
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

Run script only for running VMs #22

Open
0936y opened this issue Jul 26, 2021 · 1 comment
Open

Run script only for running VMs #22

0936y opened this issue Jul 26, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@0936y
Copy link

0936y commented Jul 26, 2021

How to run this script only for running VMs? Like with the argument "powerstate=running"

@lancefogle
Copy link
Member

@0936y I am not against adding this functionality but there are not currently other selection methods other than filtering by VM name at this point in the code. A new flag would just need to be added to the config for powerstate and some code to parse it from the VMs config as part of the VM selection validation logic.

I will try and do this soon. Of course, if you are a python developer, you could submit a pull request to add this feature as well.

@lancefogle lancefogle added the enhancement New feature or request label Jul 26, 2021
@lancefogle lancefogle self-assigned this Jul 26, 2021
@lancefogle lancefogle changed the title How to run this script only for running VMs? Run script only for running VMs Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants