How to filter machines by status with the CLI

I don’t understand why filters do not work with the maas cli. None of the below work. I know I can use jq to filter out, but I’d like to understand why filtering before does not work.

maas admin machines read status_name=["ready"|"Ready"|ready|Ready]

You can type

maas admin machines read -h

to get the documentation of that method.

In short, what you are looking for is

maas admin machines read status='ready'

Thanks for helping with my inability to read properly.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.