Question
Add user-data after creation
Is it possible to enable user-data after droplet creation?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
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 http://169.254.169.254/metadata/v1/user-data
Check out the docs on the metadata service.