Skip to content

Esysc/cloud-init-0.7.5

 
 

Repository files navigation

cloud-init-0.7.5

AIX cloud-init support


Instruction for building the AIX RPM package for cloud-init

  1. Download the cloud-init ZIP file and transfer the ZIP file to an AIX machine. The instruction below will use /tmp/CLOUD-INIT as the workspace for building the AIX cloud-init RPM package.

    • mkdir /tmp/CLOUD-INIT
    • cp cloud-init-0.7.5-master.zip /tmp/CLOUD-INIT
    • cd /tmp/CLOUD-INIT
  2. Extract the cloud-init ZIP file

    • jar -xvf cloud-init-0.7.5-master.zip
  3. Rename the folder from cloud-init-0.7.5-master to cloud-init-0.7.5

    • mv cloud-init-0.7.5 cloud-init-0.7.5
  4. Add executable permission to executable files

    • chmod -Rf +x /tmp/CLOUD-INIT/cloud-init-0.7.5/tools
    • chmod -Rf +x /tmp/CLOUD-INIT/cloud-init-0.7.5/bin
  5. Copy the spec file from cloud-init to the RPM build packages path

    • cp /tmp/CLOUD-INIT/cloud-init-0.7.5/packages/aix/cloud-init.spec.in /opt/freeware/src/packages/SPECS/cloud-init.spec
  6. tar and gzip the cloudinit file so that RPM can build it

    • tar -cvf cloud-init-0.7.5.tar cloud-init-0.7.5
    • gzip cloud-init-0.7.5.tar
  7. Copy the cloudinit gzip file to the RPM directory to be built

    • cp cloud-init-0.7.5.tar.gz /opt/freeware/src/packages/SOURCES/cloud-init-0.7.5.tar.gz
  8. Build the cloudinit RPM

    • rpm -v -bb /opt/freeware/src/packages/SPECS/cloud-init.spec
  9. Install the cloud-init RPM package.

    • rpm -ivh /opt/freeware/src/packages/RPMS/ppc/cloud-init-0.7.5-4.1.aix6.1.ppc.rpm

AIX Cloudinit RPM Package Requisite

The following RPM packages are needed to install python and cloud-init on AIX. The RPM packages can be obtained from the following website: http://www.bullfreeware.com/

The following packages are listed in the order it was installed.

Packages needed for installing python on AIX

Note:

  • the RPM flag of --nodeps is needed for installing gettext-0.17-8.aix6.1.ppc.rpm

Packages needed for installing cloud-init on AIX

About

AIX cloud-init support

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.3%
  • Shell 3.5%
  • Makefile 0.2%