diff --git a/action.yml b/action.yml index 4443932..84adb0a 100644 --- a/action.yml +++ b/action.yml @@ -55,3 +55,6 @@ runs: run: | set -x sudo maas init region+rack --maas-url=${{inputs.maas-url}} --database-uri maas-test-db:/// + - name: Wait for MAAS boot resources + shell: bash + run: while [ $(maas admin boot-resources is-importing | cat) == "true" ]; do sleep 10; done; echo "syncing finished"