openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #12102
Re: centos 6 images
On 05/22/2012 03:39 PM, Andy Grimm wrote:
> On Tue, May 22, 2012 at 9:38 AM, Pádraig Brady <P@xxxxxxxxxxxxxx> wrote:
>> On 05/22/2012 04:07 AM, Jason Ford wrote:
>>> I am trying to put together an image for centos 6 that works like cloud-init on ubuntu does. Currently I have ssh keys getting imported but having some problems getting the disk to dynamically resize to the flavor template as well as the hostname set in horizon to be pushed into the image. Does anyone have any howtos or suggestions on how to get this done? Is there cloud-init for centos just like ubuntu? I would also be interested in how to do this with debian as well.
>>
>> Well I notice there is no cloud-init package for EPEL.
>> I took a quick stab at it here:
>> http://pbrady.fedorapeople.org/cloud-init-el6/
>
> I've already responded in IRC, but it wouldn't hurt to have a response
> in the mail archive. In short, the reason there isn't already a
> cloud-init for EL6 (or EL5, for that matter) is that upstream has been
> using python 2.7-only calls for a while now. In particular, a couple
> of calls to subprocess.check_output need to be replaced, and I think
> there are a few other issues as well. I don't think it's a huge
> amount of work to make it functional, but it hasn't been high on
> anyone's list. It would be cool if you have time to fix / test it,
> though.
Ok I've fixed the check_output calls at the above URL.
cheers,
Pádraig.
Follow ups
References