On trunk MAAS only returns the host if you only include the hostname, including any domain name or .local returns nothing.
$ maas maas nodes list hostname=maas-test-1.maas Success. Machine-readable output follows: [] $ maas maas nodes list hostname=maas-test-1.local Success. Machine-readable output follows: [] maas maas nodes list hostname=maas-test-1 Success. Machine-readable output follows: [ { ... "hostname": "maas-test-1.maas", ... "resource_uri": "/MAAS/api/1.0/nodes/node-b11c7fd8-3c66-11e5-9997-525400009441/" } ]
On trunk MAAS only returns the host if you only include the hostname, including any domain name or .local returns nothing.
$ maas maas nodes list hostname= maas-test- 1.maas maas-test- 1.local maas-test- 1
"resource_ uri": "/MAAS/ api/1.0/ nodes/node- b11c7fd8- 3c66-11e5- 9997-5254000094 41/"
Success.
Machine-readable output follows:
[]
$ maas maas nodes list hostname=
Success.
Machine-readable output follows:
[]
maas maas nodes list hostname=
Success.
Machine-readable output follows:
[
{
...
"hostname": "maas-test-1.maas",
...
}
]