Hi trying to create a bash script that creates a droplet, then once created gets the IP address of that droplet and store it as a variable to I used that IP address throughout the remaining bash script.
Any pointers ...
You could do something like this:
First get create the new Droplet:
Here make sure to update your Token and the other Droplet details like the region, your SSH key and etc.