<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap:break-word; color:rgb(0,0,0); font-size:14px; font-family:Calibri,sans-serif">
Vendor data can do that. See the json metadata plugin to the nova metadata server and the vendor data section of cloud init.<br>
<br>
Thanks,<br>
Kevin <strong>
<div><font face="Tahoma" color="#000000" size="2"> </font></div>
</strong>
<hr tabindex="-1">
<font face="Tahoma" size="2"><b>From:</b> Kris G. Lindgren<br>
<b>Sent:</b> Thursday, July 23, 2015 8:38:33 AM<br>
<b>To:</b> Openstack Guru; openstack-operators@lists.openstack.org<br>
<b>Subject:</b> Re: [Openstack-operators] adding postinstall scripts in cloud init<br>
</font><br>
<div></div>
<div>
<div>
<div>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?</div>
<div>
<div>
<div>____________________________________________</div>
<div> </div>
<div>Kris Lindgren</div>
<div>Senior Linux Systems Engineer</div>
<div>GoDaddy, LLC.</div>
</div>
<div><br>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; border-bottom:medium none; border-left:medium none; padding-bottom:0in; padding-left:0in; padding-right:0in; border-top:#b5c4df 1pt solid; border-right:medium none; padding-top:3pt">
<span style="font-weight:bold">From: </span>Openstack Guru <<a href="mailto:openstackguru@gmail.com">openstackguru@gmail.com</a>><br>
<span style="font-weight:bold">Date: </span>Thursday, July 23, 2015 at 8:57 AM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:openstack-operators@lists.openstack.org">openstack-operators@lists.openstack.org</a>" <<a href="mailto:openstack-operators@lists.openstack.org">openstack-operators@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>[Openstack-operators] adding postinstall scripts in cloud init<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">
<div>Hello every one,</div>
<div><br>
</div>
<div>I would like to add some command's in cloud init to execute while building an instance. Please advice best way to accomplish this?</div>
<div><br>
</div>
<div>Thanks in advance.</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
</span></div>
</body>
</html>