Hi,
I’m trying to run specific commissioning script for specific machine type (tag). I’ve tried tagging machine and script, but it does not work. It was like:
Machine has tag “node”
commissioning script (41-xxxx) hast tags “node,noauto”
and while commissioning the 41-xxxx script is not started. When I remove “noauto” it is started for every machine, regardless of the tag. How can I start specific commissioning script for specific machine/group of machines??
Or maybe I can use something like this in commissioning script:
{{if 'bigDisk' in (node.tag_names())}}
...
{{elif 'smallDisk' in (node.tag_names())}}
...
{{else}}
...
{{endif}}
? Will it work with python script?
I can’t find any good documentation for using tags, I would really appreciate someone’s help - thanks in advance.