[CentOS-devel] Cloud-init for CentOS?

Mon Jan 27 15:13:25 UTC 2014
Juerg Haefliger <juergh at gmail.com>

On Sat, Jan 25, 2014 at 5:58 PM, Nux! <nux at li.nux.ro> wrote:
>
> On 25.01.2014 13:58, Sam Kottler wrote:
> > I've submitted the update:
> > https://admin.fedoraproject.org/updates/cloud-init-0.7.4-1.el6.
> > Auto-karma is disabled because I'd like the opennebula and cloudstack
> > folks specifically to test it, but if you're on EC2/OpenStack or any
> > of
> > the other supported platforms it'd be great to have this tested as
> > well.
> >
> > Thanks and have a great weekend!
>
> Thank you, Sam.
> Sadly 0.7.4 is not able to use Cloudstack properly, at least the root
> password feature does not work, nor does the resizefs one although it's
> listed in cloud_init_modules.

The CentOS 6 kernel can't do online partition resizing so you need to
install the cloud-initramfs-growroot and cloud-utils-growroot packages to
do the partition resizing in the initrd. I'm the package maintainer of
those two in EPEL6, let me know if you run into any issues. After the
partition is resized, cloud-init will grow the filesystem to the max
possible size. Newer kernels don't require the initrd-hack and cloud-init
can to both partition and filesystem resizing post-initrd.

...Juerg



> I've also built 0.7.5 and it has the same problems. More testing is
> needed to clarify why this happens.
>
> Regards,
> Lucian
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
> _______________________________________________
> CentOS-devel mailing list
> CentOS-devel at centos.org
> http://lists.centos.org/mailman/listinfo/centos-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20140127/90107f35/attachment-0007.html>