cloud-init team mailing list archive
-
cloud-init team
-
Mailing list archive
-
Message #00024
Re: Cloud-init not installing rpms (CentOS 6.5)
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: "justin@xxxxxxxxxxxxxx<mailto:justin@xxxxxxxxxxxxxx>" <justin@xxxxxxxxxxxxxx<mailto:justin@xxxxxxxxxxxxxx>>
Date: Friday, March 28, 2014 at 12:47 PM
To: "cloud-init@xxxxxxxxxxxxxxxxxxx<mailto:cloud-init@xxxxxxxxxxxxxxxxxxx>" <cloud-init@xxxxxxxxxxxxxxxxxxx<mailto:cloud-init@xxxxxxxxxxxxxxxxxxx>>
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 : cloud-init@xxxxxxxxxxxxxxxxxxx<mailto:cloud-init@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~cloud-init
More help : https://help.launchpad.net/ListHelp
Follow ups
References