Add user-data after creation

October 10, 2014 3.7k views

Is it possible to enable user-data after droplet creation?

  • More importantly, I really want to store the discovery URL that I generated. Is the "user-data" stored somewhere so I can have easy access while trying to add a new machine to my cluster?

  • @shivab You can access it using curl Check out the docs on the metadata service.

1 Answer

You can't add cloud-config to an existing droplet. Just destroy it and create a new droplet with your user-data.

  • ok. destroy and create a new one. Couldn't we have a more flexible solution? Or destroy and create a new droplet is lightweight for DO. : )

Have another answer? Share your knowledge.