Create or clone an image template
An image template stores the list of layers to include in the layered images that you publish. From a single template, you can publish as many layered images as you need to provision systems in a particular location.
Once you create an image template from scratch, you can clone the template to quickly create a set of templates that have the same settings.
When you upgrade the software in an App or Platform layer, you then update your image templates to use the new layer version. To deliver the new layer version to users, you can re-publish your layered images and use the updated images to provision your systems.
To create an image template you need:
- OS layer
The Platform layer must have the same hardware settings as the OS layer. You choose these settings when deploying the virtual machine for the OS and Platform layers.
- App layers (Optional)
- You are not required to include App layers when you create an image template.
- You can add App layers to an image template and then re-publish your layered images at any time.
You can create an image template without App layers. This is useful for testing your OS layer before using it to create App layers.
Create an image template from scratch
To create an image template:
In the App Layering management console, select the Images module, then click Create Template. This opens the Create Template wizard.
In the Name and Description tab, enter a Name for the template and notes in the Description field (optional), so you can identify the template when choosing one for publishing a layered image.
In the OS layer tab, select one of the Available OS Layers. If there is more than one layer version, the most recent version is selected by default. You can choose an older version by expanding the layer and choosing a different one.
In the App Assignment tab, select the App Layers to include in the layered images that you publish using this template.
In the Connector tab, choose a Connector Configuration for the platform where you are creating this layer. If the configuration you need isn’t listed, select New to add a connector configuration.
In the Platform layer tab, select a Platform layer with the tools and hardware settings that you need to publish layered images to your environment.
On the Layered Image Disk page, edit the following fields, as needed:
- (Optional) Layered Image Disk File name. Enter a name for the layered image disk.
- Layered Image Disk Size. The default disk size of 100 GB is recommended.
- Layered Image Disk Format. The default disk format is VHD, but you can also select VMDK or QCOW2. If you are publishing to the appliance’s File Share instead of using a connector configuration, this setting allows you to choose a disk format compatible with the environment to which you are copying the disk.
Sysprep. The options available depend upon the hypervisor or provisioning service specified in your connector configuration:
- Azure, Hyper-V, XenServer, Nutanix, vSphere: Defaults to Generalized Offline. (For Azure, this is the only option.)
- MCS, PVS, View: Defaults to Not generalized. (For MCS in Azure, this is the only option.)
- File Share: Defaults to Not generalized, if using a File Share instead of a connector configuration.
- Elastic Layering - Select the Application Layering option to activate Elastic Layering on this layered image.
- User Layer- When enabled in System Settings, you can select Full User layers (Labs), Office 365 (desktop), or Session Office 365 (server OS) option. Choose the Full option to save the settings and data for users independent of specific applications. Choose Office 365 or Session Office 365 to save the settings and data for Outlook 365 running on a desktop system or a session host.
On the Confirm and Complete tab, enter any comments you would like for this layer.
Click Create Template to save your changes, or Create Template and Publish to save the template and then publish the layered images.
The new template icon appears in the Images module.
Clone an image template
You can create a copy of an image template by cloning it. Each clone is a stand-alone copy of the original. The audit history shows that the template was cloned “Created (Cloned),” and indicates which image it was cloned from, “Cloned from template-name.”
The name of each clone is appended with “Copy,” and then with “ - Copy n,” where the number is incremented until a unique name is achieved. The maximum number is 1000.
To clone an image template:
- In the App Layering management console, select the Images module.
- In the Images module, select an image template, and click Clone on the Action bar or popup menu. A copy of the template is created with “ - Copy (1)” appended to the name.
You can rename and edit the clone for your purposes.
You can now use the image template to Publish layered images from image template