-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document how to use image_id: vs image: for Droplet.new() #30
Comments
To clarify, |
It's the image: parameter, which get's fed from apps using the library (like test-kitchen). Knowing how name names map to image id's would be great. |
Yeah, right now the best way to see slugs is to retrieve only distribution images from https://developers.digitalocean.com/documentation/v2/#list-all-distribution-images |
I'm guessing no slugs are created by default for snapshot / application images. |
Application images should also have slugs. |
How do I actually do this with DropletKit, see the image ids? What's the magic spell? I see the api documentation link, but that doesn't tell me how to actually do it with the ruby gem. I don't understand why this is so hard. Do I really need to go figure out how to do it with curl before I can figure out how to do it with the gem? What's the point then of maintaining the gem? Would it be too hard to just add a endpoint or something that doesn't require a bunch of auth just to get this basic usage info? |
This is the magic spell for anyone else coming across this:
The gem specifies that the returns are POROs but the return from the |
I'm not sure where the names come from for calls to Droplet.new(name:) when I want to specify my own images.
I ended up using the image_id: in the name: parameter to accomplish what I wanted, but it was confusing.
The text was updated successfully, but these errors were encountered: