[Kimchi-devel] [PATCH][Kimchi 1/6] Create a single field to pass the installation media

Aline Manera alinefm at linux.vnet.ibm.com
Wed Mar 23 20:05:27 UTC 2016


Is still possible to create a template by specifying 'cdrom' or base disk?
If not, the API.json should be updated to block it and required 
installation_media always.

On 03/22/2016 04:20 PM, Ramon Medeiros wrote:
> Signed-off-by: Ramon Medeiros <ramonn at linux.vnet.ibm.com>
> ---
>   API.json | 5 +++++
>   1 file changed, 5 insertions(+)
>
> diff --git a/API.json b/API.json
> index 6f0b484..05caa49 100644
> --- a/API.json
> +++ b/API.json
> @@ -468,6 +468,11 @@
>                       "error": "KCHTMPL0011E"
>                   },
>                   "memory": { "$ref": "#/kimchitype/memory" },
> +                "installation_media": {
> +                    "description": "Path for installation media (ISO, disk, remote ISO)",
> +                    "type" : "string",
> +                    "pattern" : "^[^ ]+( +[^ ]+)*$"
> +                },
>                   "cdrom": {
>                       "description": "Path for cdrom",
>                       "type": "string",




More information about the Kimchi-devel mailing list