You can configure images for Windows guest customization by applying guest customization metadata.

Windows guest customization is an alternative to Cloudbase-Init. Do not use Windows guest customization metadata and Cloudbase-Init on the same image.

Prerequisites

  • Install the appropriate version of Microsoft System Preparation (Sysprep) for each guest operating system that you want to customize.
  • Install VMware Tools on the source image.

Procedure

  1. Log in to the VMware Integrated OpenStack dashboard.
  2. Select your project from the drop-down menu in the title bar.
  3. Select Project > Compute > Images.
  4. Create a new Windows image or choose an existing image to customize.
  5. Select Update Metadata next to the image that you want to use.
  6. In the Available Metadata pane, expand Guest Customization Options.
  7. Click the Add (plus sign) icon next to the metadata that you want to configure.
    Option Description
    Auto logon count

    Enter the number of times that the machine can be automatically logged in to as Administrator. You can increase this value above 1 if your configuration requires multiple reboots. This value might be determined by the list of commands executed by the GuiRunOnce command.

    Automatic logon

    Select the checkbox to automatically log in to the VM as Administrator.

    Maximum number of connections

    Enter the number of client licenses purchased for the Windows server being installed.

    Note: This parameter is used only if the server licensing mode is set to PerServer.
    Product Key

    Enter the serial number to include in the answer file when mini-setup runs.

    Note: If the guest operating system was installed using a volume-licensed CD, this parameter is not required.
    Server licensing mode

    Select PerServer or PerSeat as the server licensing mode.

    Windows workgroup to join

    Select the workgroup that the virtual machine will join.

  8. Click Save.

Results

When you launch instances from the image, the specified Windows guest customization options are applied.