Created
February 16, 2015 17:40
-
-
Save xcambar/56b0b8094261c9aab2cf to your computer and use it in GitHub Desktop.
Create a DigitalOcean droplet + Register it into /etc/hosts with Tugboat. Because IP addresses are hard.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NAME=droplet_name #Use your own | |
tugboat create $NAME | |
tugboat wait $NAME | |
DO_IP=`tugboat info $NAME | grep IP | cut -f 2 -d : | xargs` | |
echo "$DO_IP $NAME.droplet" | sudo tee -a /etc/hosts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment