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
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