Can u possibly pastebin the cloud-init log file and cloud.cfg somewhere so we 
can investigate?

The logs usually have enough detail to figure out what/why.

Thx!

-Josh

From: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Friday, March 28, 2014 at 12:47 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [Cloud-init] 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

--
Mailing list: https://launchpad.net/~cloud-init
Post to     : 
[email protected]<mailto:[email protected]>
Unsubscribe : https://launchpad.net/~cloud-init
More help   : https://help.launchpad.net/ListHelp

-- 
Mailing list: https://launchpad.net/~cloud-init
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~cloud-init
More help   : https://help.launchpad.net/ListHelp

Reply via email to