Comment 1 for bug 1482784

Revision history for this message
Lee Trager (ltrager) wrote :

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/"
    }
]