Commit 188b303d authored by OHTAKE Tomohiro's avatar OHTAKE Tomohiro Committed by Lukasz Zajaczkowski

Execute salt-call twice

parent 840aa9c1
......@@ -45,4 +45,5 @@ sed -e 's/{{cloud_provider}}//' -i /srv/salt/kubelet/default
# salt-call wants to start docker daemon but is unable to.
# See <https://github.com/projectatomic/docker-storage-setup/issues/77>.
# Run salt-call in background and make cloud-final finished.
salt-call --local state.highstate && $$wc_notify --data-binary '{"status": "SUCCESS"}' || $$wc_notify --data-binary '{"status": "FAILURE"}' &
# Salt-call might be unstable in some environments, execute it twice.
salt-call --local state.highstate && salt-call --local state.highstate && $$wc_notify --data-binary '{"status": "SUCCESS"}' || $$wc_notify --data-binary '{"status": "FAILURE"}' &
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment