← Back to team overview

cloud-init team mailing list archive

Cloud-init not installing rpms (CentOS 6.5)

 

Hi all,

Trying to spin up some VMs in Rackspace, but having
trouble getting rpms installed.

Using #cloud-config, passed to it via config-drive.

Passing the #cloud-config file itself seems to work,
as runcmd thing work.  Anything in "packages" isn't
though.

eg (keeping it simple) this very simple config should
install git, then print a "complete" message to a
file in /tmp:

****************************************************
#cloud-config

packages:
- git

runcmd:
- echo 'complete' >> /tmp/my-cloud-config.log
****************************************************

The "complete" string is being written to the file
in /tmp correctly.  But no "git" being installed, and
no mention of git anywhere in /var/log/cloud-init.log.

This is using cloud-init-0.7.4-2.el6.noarch.

Anyone have ideas on what I should check next, to find
out what's happening?

Regards and best wishes,

Justin Clift


Follow ups