Use case of provisioning with extracted image

Learn about how to use the various APIs together to provision to a Linux target environment.

  1. Use the APIs listed in Creating components with REST APIs to extract the components.

    After creating each component, note the uuid from the response for image creation. Each image must have at least a system residence component.

  2. Create images from extracted components by following these instructions in Creating images from extracted components with REST APIs. The uuid for the system residence component should be listed in sysres-component-uuid and component-uuids fields. You can add the additional components if required for the image in component-uuids field.

    After creating the image, get the uuid from the response to provision the instance.

  3. To provision using stock image follow the instructions in Provisioning instances to a Linux target environment with REST APIs. The uuid from the step 2 should be added as the image-uuid to create the provision.