Prepare Images from Scratch in Platform9 vCenter Environment with cloud-init

Cloud-init has emerged to the be de-facto multi-distribution package that handles early initialization of a cloud instance. For more information on cloud-init, refer here:

This tutorial describes the steps to prepare Ubuntu and Centos images with cloud-init in Platform9 vSphere environment.

Step 1: Download iso

Download the iso for the preferred operating system from the links below.

Step 2: Upload iso to datastore

Upload the iso to vSphere datastore using the Datastore browser. Note the location to use it in next step.

Step 3:  Connect VM to datastore iso

Create a Virtual Machine and edit VM settings before completion. Edit the CD ROM to point to the uploaded iso from Step 2. Check the option for connecting it at power on.

Screen Shot 2016-01-26 at 10.10.57 AM

Step 4: Power on VM and install OS

Power on the VM and follow the steps for installation. Install vmware tools.

Step 5:  Install the Platform9 Cloud-init Package

Step 6: Create an  image 

Optional – Download and deploy Prebuilt Images

Screen Shot 2016-01-26 at 12.38.45 PM

January 26, 2016