Using the vSphere Client, you convert your existing CentOS reference machine into a vSphere template for your vRealize Automation IaaS architects to reference as the base for their clone blueprints.

Procedure

  1. Log in to your reference machine as the root user and prepare the machine for conversion.
    1. Remove udev persistence rules.
      /bin/rm -f /etc/udev/rules.d/70*
    2. Enable machines cloned from this template to have their own unique identifiers.
      /bin/sed -i '/^\(HWADDR\|UUID\)=/d'
      /etc/sysconfig/network-scripts/ifcfg-eth0
    3. Power down the machine.
      shutdown -h now
  2. Log in to the vSphere Web Client as an administrator.
  3. Click the VM Options tab.
  4. Right-click your reference machine and select Edit Settings.
  5. Enter Rainpole_centos_63_x86 in the VM Name text box.
  6. Even though your reference machine has a CentOS guest operating system, select Red Hat Enterprise Linux 6 (64-bit) from the Guest OS Version drop-down menu.

    If you select CentOS, your template and customization specification might not work as expected.

  7. Right-click your Rainpole_centos_63_x86 reference machine in the vSphere Web Client and select Template > Convert to Template.

Results

vCenter Server marks your Rainpole_centos_63_x86 reference machine as a template and displays the task in the Recent Tasks pane.

What to do next

To prevent any conflicts that might arise from deploying multiple virtual machines with identical settings, you create a general customization specification that you and your Rainpole architects can use to create clone blueprints for Linux templates.