Installing and configuring cloud-init on IBM i

Cloud-init is a script that enables virtual machine activation and initialization, and is widely used for OpenStack.

About this task

Before you capture a virtual machine, install the cloud-init initialization package.

Procedure

  1. Download and install the required license programs at http://www-304.ibm.com/servers/eserver/ess/index.wss:
    • 5770DG1 with *ALL option
    • 5770SS1 with Option 30 and 33
    • 5770SC1 *BASE and option 1
  2. Use yum to install required rpm packages by following the steps in Installation section.
    • python3-ibm_db
    • python3
    • cloud-init-1.3
    Note: The listed version of rpm packages is the minimum supported version.
  3. Install all required PTFs, as listed in the blog Install and enable cloud-init on IBM i.
  4. Capture a virtual machine.
  5. For more information on IBM i cloud-init see, Cloud-init support for IBM i .

Results

For more information about cloud-init, including usage examples, refer to the cloud-init documentation.