How to change default domain on the CLI

How’s this suppose to work? I’m trying to switch the default domain, but either setting the current one to false or setting the new one to true has no effect. It says “Success.”, but nothing changes.

root@mgmt01:~# maas admin domain update 0 is_default=false
Success.
Machine-readable output follows:
{
“authoritative”: true,
“ttl”: null,
“is_default”: true,
“resource_record_count”: 0,
“id”: 0,
“name”: “maas”,
“resource_uri”: “/MAAS/api/2.0/domains/0/”
}

Doh! “maas admin domain set-default <id/name>” is its own command and i don’t have to play with the properties.

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