When your Automation Assembler template deploys an image based on a vSphere template, the vSphere template must be configured in advance to support cloud-init.

To configure a vSphere template to support cloud-init, take the following steps.

  1. On the virtual machine that will become the template, install cloud-init.

    For example, use yum to install cloud-init on CentOs, or apt-get to install on Ubuntu.

  2. Set the CD-ROM of the virtual machine to passthrough mode.

    Passthrough mode

  3. From the guest operating system command line, run cloud-init clean.
    Note: When cloud-init clean finishes, do not modify the virtual machine any further.
  4. Shut down the virtual machine and convert it to a template.