How to check Image state with maas cli

Dear Team,

After upload image to MaaS Server by maas cli, the Status of Image is “Waiting for rack controller(s) to sync”, and I want to get the status by maas cli.
How can i use maas cli to get Image Status like “Waiting for rack controller(s) to sync” ?

Best regards,

maas admin rack-controller list-boot-images $RACK_SYSTEM_ID | jq -r ".status" "synced"

should be what you are looking for. Change "synced" with the other status you want to check

1 Like

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