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 <[email protected]>
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
> [email protected]
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
>
_______________________________________________
OpenStack-operators mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

Reply via email to