OnyxBackupVM icon indicating copy to clipboard operation
OnyxBackupVM copied to clipboard

Run script only for running VMs

Open 0936y opened this issue 4 years ago • 1 comments

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

0936y avatar Jul 26 '21 12:07 0936y

@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 avatar Jul 26 '21 13:07 lancefogle