Vendor data can do that. See the json metadata plugin to the nova metadata 
server and the vendor data section of cloud init.

Thanks,
Kevin

________________________________
From: Kris G. Lindgren
Sent: Thursday, July 23, 2015 8:38:33 AM
To: Openstack Guru; [email protected]
Subject: Re: [Openstack-operators] adding postinstall scripts in cloud init

Do you mean outside of the standard supplying user_data when the VM boots?  Or 
do you mean that you (as the cloud provider) want every vm to always do x,y,z 
and to leave user_data open to your end users?
____________________________________________

Kris Lindgren
Senior Linux Systems Engineer
GoDaddy, LLC.


From: Openstack Guru <[email protected]<mailto:[email protected]>>
Date: Thursday, July 23, 2015 at 8:57 AM
To: 
"[email protected]<mailto:[email protected]>"
 
<[email protected]<mailto:[email protected]>>
Subject: [Openstack-operators] adding postinstall scripts in cloud init

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

Reply via email to