Skip to content

Commit

Permalink
digitalocean: use --wait instead of polling
Browse files Browse the repository at this point in the history
  • Loading branch information
kicaj authored and jlebon committed Mar 24, 2021
1 parent 5097025 commit 993137f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/ROOT/pages/provisioning-digitalocean.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ Fedora CoreOS is designed to be updated automatically, with different schedules
.Example uploading FCOS to a DigitalOcean custom image
[source, bash]
----
doctl compute image create my-fcos-image --region sfo2 --image-url <download-url>
# Wait for image creation to finish
while ! doctl compute image list-user | grep my-fcos-image; do sleep 5; done
doctl compute image create my-fcos-image --region sfo2 --image-url <download-url> --wait
----

=== Launching a droplet
Expand Down

0 comments on commit 993137f

Please sign in to comment.