Hi @bedfordc, sorry for the late reply.
Currently, info about tags and pools are not available to the machine when executing the script.
The only information you can rely on is the the content of the $MAAS_RESOURCES_FILE
, and whatever you can gather by inspecting the machine itself in your script.