forked from kimchi-project/kimchi
-
Notifications
You must be signed in to change notification settings - Fork 0
template cloning and customization
shaohef edited this page Jan 28, 2014
·
2 revisions
Notice on template creation we really only ask for name, and ISO
everything else is defaulted for the user, but can be edited later.
The user may clone a template from an existing template with different name.
Later he can customize some parts of the template to save the effort to create a full new template.
For example, he can update the network of the template cloned to have a new different template.
now kimchi UI can just edit the template name, CPU numbers and memory size.
But backend can support the follow fields edit
customise storage pool: Pending patches:[project-kimchi][PATCHv3 0/8] Template storage customization
folder: A virtual path which can be used to organize Templates in the user interface. The format is an array of path components.
icon: A URI to a PNG image representing this template.
os_distro: if the operating system distribution is unknown, it should be edited.
os_version: If he version of the operating system distribution is unknown, it should be edited.
cdrom: A volume name or URI to an ISO image, should not be edited.
disks: An array of requested disks with the following optional fields (either size or volume must be specified):
index: The device index
size: The device size in GB
volume: A volume name that contains the initial disk contents
More need to be edited[TODO]
customise network: backend support. shaohef
UI support to update other fields, not only template name, CPU numbers and memory size.