In this article:
A Layered Image is a virtual machine that Unidesk has composited from the Layers and settings specified in an Image Template. You can publish one or more Layered Images to Citrix MCS in your XenServer environment and add it to a catalog for provisioning systems. In the Connector Configuration wizard, be sure to configure a Virtual Machine Template, so that the Layered Image you publish will be in a ready-to-use VM, the image shut down and a snapshot taken. You can use the VM in your Horizon environment without further modifications.
To publish a Layered Image to MCS, you need:
In the Images module, select one or more Image Templates that you want to publish.
From the Action menu, select Publish Layered Image.
On the Confirm and Complete page, select Publish Layered Images. For each Image Template this starts a task called, Publishing Layered Image. When each task completes, the task description provides the information you need to navigate to the image in your environment.
At the end of the image creation process:
Unidesk powers on the VM - This will enable the guest OS to run and execute any layer scripts via our kmssetup.cmd functionality. This can be used to perform important layer specific steps like activating Microsoft Office which may need to be done before the VM is used to create a view desktop pool/RDS farm or recompose them. The mechanism used to execute these scripts can vary, including our own kmssetup.cmd functionality, run-once support, or even manual execution. It is expected that once all scripts are run or other manual steps are taken and the VM is in the desired state, a guest OS shutdown will be initiated either by the scripts, or by the user (if using the kmssetup.cmd functionality there will a documented process for initiating a shutdown after all layer scripts and other kmssetup functionality is complete).
When the Task changes to Action Required, shut down the VM and take a snapshot - The status then changes to Done.
If you want the VM to shut down on its own, you can specify a script to run when you publish Layered Images - For details about enabling and using Scripts, see the instructions for the MCS for XenServer Connector Configuration.
When the task completes, the task description provides the information you need to navigate to the image in your environment.
Use the information in the expanded Packaging Disk Task to navigate to the location in your environment where the Layered Image has been published.
Next you can move the image to a collection or other location for provisioning servers.