Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[VM] vm image list --all returns all Marketplace URNs which vm create may not actually support #1209
Creating VMs from Marketplace Images even if those are free require plan to be specified, I can't find an option for plans nor valid input for plan types.
Command slightly redacted due to password in command
This was the error returned.
Hi @voiddragon thanks for bringing this issue to our attention!
It looks like, since this is a WordPress site, it needs a web hosting plan, which VM create does not expose. It is likely that other custom images in the marketplace with come with pre-installed software (as opposed to just an OS) might need other resources as well (SQL server, etc.) so we will need to evaluate this and decide how to proceed.
Hi @voiddragon. VM create is intended for creating VMs that are essentially blank except for the OS image. If you run
If you run
If you would like to create a Marketplace offering like the Bitnami image with WordPress that you tried, you should create that through the portal as it has a different engine that allows it prompt for those things.
@johanste In the meantime I will keep this issue open until we decide how to address the fact that
changed the title
Unable to create VM from Marketplace Image, needs plan to be specified
Nov 4, 2016
We should support this. I am also getting custom feedbacks on related failure when they tried to use
I will submit a PR to fix this soon. No VM command interface change, and CLI will do the hard work to get things plumbed. The only piece I am not certain is whether I should expose the "promo-code". It is not because of the implementation difficulties, rather, to control the command complexity I try to avoid exposing dedicated args for things which are not much used by people, and I will count on #2281 to handle the rest.