Comment 6 for bug 1630325

Revision history for this message
Nobuto Murata (nobuto) wrote :

FWIW, available imported images can be retrieved through API. If only one cluster controller *and* only one image to be imported, we could wait with a logic something like:

while [ "$(maas maas-profile boot-images read "$(maas maas-profile node-groups list | jq -r .[].uuid)")" = '[]' ];
    do sleep 5
done