Installing cloud-init on AIX®

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

Before you capture a virtual machine, install the cloud-init initialization package.
Note: If you are installing the cloud-init package for capturing a virtual machine, and already have the activation engine installed, you must uninstall the activation engine. To check if the activation engine RPMs are installed, run # rpm -qa | grep activation on the virtual machine. If the RPMs are present, refer to the Uninstalling the activation engine topic for details to remove them.
  1. Install yum from the AIX toolbox if it does not already exist on the virtual machine. See the yum readme for instructions.
  2. Make sure that the Python 2.7 package and the GNU Compiler Collection (GNU) are installed.
  3. Make sure SSH daemon is running.
  4. Run yum install cloud-init.
  5. Compared to community cloud-init, PowerVC provides additional modules that must be configured in the cloud-init config file for proper functioning of RMC and hostname.
    You can enable and configure cloud-init custom modules and control the way cloud-init sets your host name by modifying the cloud.cfg file, available here:
    /opt/freeware/etc/cloud/cloud.cfg
For more information about cloud-init, including usage examples, refer to the cloud-init documentation.