cloud-init made easy
Written by Michael Felt   

Are you ready for EASY!

There WAS a very long list of RPM packages that needed to be downloaded and installed to have an AIX virtual machine that was cloud-init enabled.

To be precise - 34 rpm packages at 255 MByte.

Compare that with with one file (a compressed tar file of installp packages) of < 47MByte (and unpacked less than 100 Mbyte)!

Steps now are:

  1. download
  2. unpack
  3. install

Testing requested

Currently I want testers to verify the packaging works.

Why bother - it worked already didn't it?

Well, I suppose it worked - but you could never delete all of it (e.g., after deployment it may not be needed)

What did I change?

As little as possible - basically, I only removed the "/opt/freeware" from all the directory locations - so the locations should be much more uniform with linux packaging. At least I tried!

I added some "utility"

Getting this ready was a struggle - and during that struggle I learned about a little program named pip. If you you know what CPAN is (for perl) then you already have a very good idea of what pip can do for you. In other words - I left pip in the pythin modules. I hope you like it. If public opinion is "no pip please" then I shall modify the packaging.

Where is it already!

Test-drive avaliable at http://download.aixtools.net/test/cloudinit/aixtools.python.cloudinit.bundle.tar.bz2

Steps expanded

  1. wget  http://download.aixtools.net/test/cloudinit/aixtools.python.cloudinit.bundle.tar.bz2
  2. bzip2 -dc  aixtools.python.cloudinit.bundle.tar.bz2
  3. installp -d . all

Contents - updated to support AIX 6.1 TL9

michael@x071:[/data/prj/aixtools]bzip2 -dc aixtools.python.cloudinit.bundle.tar.bz2 | tar tvf -
-rw-r--r-- root/httpd  5321728 2015-09-13 15:10 ./aixtools.gnu.bash.4.3.42.0.aix537.I
-rw-r--r-- root/system 11640832 2015-12-08 14:52 ./aixtools.gnu.gettext.0.19.5.0.aix537.I
-rw-r--r-- root/httpd  49927680 2015-11-03 15:00 ./aixtools.python.2.7.10.0.aix537.I
-rw-r--r-- root/system 11463680 2016-02-18 10:32 ./aixtools.python.cloudinit.0.7.5.0.aix619.I