Skip to content

Wait for cloud-init to finish is it is running

Provisioning on digitalocean fails sporadically due to cloud-init racing with docker-machine provisioning. This results in docker-machine seeing half-backed apt configuration or failing to take the apt lock, ultimately causing a failure of the create command.

We try to detect cloud-init and be polite and wait for it to finish.

Edited by Maximilian Riemensberger

Merge request reports