[Openstack-operators] adding postinstall scripts in cloud init

David Medberry openstack at medberry.net
Thu Jul 23 15:51:43 UTC 2015


Kris's answer is correct--use user_data unless you have a reason not to.
You could "munge" the user_data if you wanted to do something additional.
You could also "munge" the cloud-image you are using to do something custom
and/or fork cloud-init.

ref:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/4/html/End_User_Guide/user-data.html
http://cloudinit.readthedocs.org/en/latest/topics/datasources.html
http://cloudinit.readthedocs.org/en/latest/topics/examples.html

Be the Guru, use the source!

On Thu, Jul 23, 2015 at 9:57 AM, Openstack Guru <openstackguru at gmail.com>
wrote:

> Hello every one,
>
> I would like to add some command's in cloud init to execute while building
> an instance. Please advice best way to accomplish this?
>
> Thanks in advance.
>
>
>
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20150723/351471e3/attachment.html>


More information about the OpenStack-operators mailing list