Fix droplet creation
Steps to reproduce:
shipwright box create my_droplet --provider digital_ocean --token \
1234567890123456789012345678901234567890123456789012345678901234
What should happen:
- A new droplet with the name "my_droplet" is created.
What happens instead:
- Initial output (taken from https://source.puri.sm/liberty/ldh_developer/issues/8 )
$ shipwright box create my_droplet --provider digital_ocean --token 1234567890123456789012345678901234567890123456789012345678901234
Creating ssh key required by Vagrant's Digital Ocean plugin ...
Bringing machine 'my_droplet' up with 'digital_ocean' provider...
==> starblade: Using existing SSH key: Vagrant
==> starblade: Creating a new droplet...
==> starblade: Assigned IP address: 104.248.176.67
Generating public/private rsa key pair.
Your identification has been saved in id_rsa.
Your public key has been saved in id_rsa.pub.
The key fingerprint is:
SHA256:eOc7o77jpWSa+n1nPlEFs4tYiBvQ6ZNUm5JcnJ5j1jE Created automaticlly by shipwright
The key's randomart image is:
+---[RSA 2048]----+
| .. +o. o. |
| o++o+E o.|
| o*o+o.o.. |
| .++*o.... |
| . S+o.... |
| . o . |
| o o . |
| *.o+.+ |
| .o+oB=.*.. |
+----[SHA256]-----+
Bringing machine 'my_droplet' up with 'digital_ocean' provider...
==> my_droplet: Creating new SSH key: Vagrant...
==> my_droplet: Creating a new droplet...
==> my_droplet: Assigned IP address: 178.128.79.235
- Freezes at this point
- If you hit Ctrl-C at this point, you can abort the process and use the droplet
- Otherwise if you wait a few minutes...
WARNING: Unexpected middleware set after the adapter. This won't be supported from Faraday 1.0.
==> starblade: Destroying the droplet...
- ...and the droplet is destroyed.