VMmanager 6: Administrator guide

Filters for running scripts


You can restrict running a script on virtual machines (VMs). For example, allow it to run only on VMs with a certain operating system or configuration.

To set the restrictions, specify the necessary filters when creating or editing the script settings. If the VM does not meet the conditions of the filter, the script will not run on it.

Filter parameters

You can set a filter by:

  • OS template tags (mandatory parameter);
  • VM configuration name;
  • cluster name;
  • vCPU count;
  • RAM size;
  • Storage volume.

The script will be available to run on a VM if it meets all the specified conditions.

Setting up filters

The filter syntax is described in Using filters.

Examples of filters

Run the script on a CentOS VM with at least 2 GB of RAM


Run the script on CentOS VMs in clusters with prefix of VDC42 and with orion or sirius configuration

Thank you for your feedback!
Was the article useful?
Tell us why not:

it does not match the title

it was hard to understand

I didn't find the answer

recommendations from the article did not help


Tell us what you didn't like in the article: