It typically takes about three minutes to stand up metal_device.sd-staging at Equinix Metal. The cloud-init setup follows silently unless you're logged in and watching journalctl -f.
It would be nice for terraform apply to wait for cloud-init to complete, by remote-execing either:
cloud-init status --wait; or
a test for the appearance of /var/lib/cloud/instance/boot-finished.
The tradeoff is that this will require that we set up or at least refer to the SSH key with which the server will be configured, so that remote-exec can use it to connect. Right now we let the server inherit its key from the Equinix Metal project or account.
It typically takes about three minutes to stand up
metal_device.sd-staging
at Equinix Metal. The cloud-init setup follows silently unless you're logged in and watchingjournalctl -f
.It would be nice for
terraform apply
to wait for cloud-init to complete, byremote-exec
ing either:cloud-init status --wait
; or/var/lib/cloud/instance/boot-finished
.The tradeoff is that this will require that we set up or at least refer to the SSH key with which the server will be configured, so that
remote-exec
can use it to connect. Right now we let the server inherit its key from the Equinix Metal project or account.