<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">When you bundle the image, make sure you remove the /var/lib/cloud directory.  It contains lock files and a local cache from the first time it was run.  <div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><div style="font-size: 12px; ">-------------------------------------------------</div><div style="font-size: 12px; ">Brian Schott, CTO</div><div style="font-size: 12px; ">Nimbis Services, Inc.</div><div style="font-size: 12px; "><a href="mailto:brian.schott@nimbisservices.com">brian.schott@nimbisservices.com</a></div><div style="font-size: 12px; ">ph: 443-274-6064  fx: 443-274-6060</div></div><div><br></div></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On Jul 24, 2013, at 11:00 PM, "Jake G." <<a href="mailto:dj_dark_junglist@yahoo.com">dj_dark_junglist@yahoo.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><div><span>Thanks Scott!</span></div><div style="font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; "><span><br></span></div><div style="font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; "><span>I have removed cloud-init from my instance and enabled config-drive in the nova.conf file.</span></div><div style="font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; "><br></div><div style="font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; ">Anything else I should
 take notice of?</div><div><br></div>  <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Scott Moser <<a href="mailto:smoser@ubuntu.com">smoser@ubuntu.com</a>><br> <b><span style="font-weight: bold;">To:</span></b> Jake G. <<a href="mailto:dj_dark_junglist@yahoo.com">dj_dark_junglist@yahoo.com</a>> <br><b><span style="font-weight: bold;">Cc:</span></b> Dean Troyer <<a href="mailto:dtroyer@gmail.com">dtroyer@gmail.com</a>>; "<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>" <<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>> <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, July 25, 2013 10:58 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Openstack] Image prep. cloud-init user configuration help.<br> </font> </div> <div class="y_msg_container"><br>On Wed, 24 Jul 2013, Jake G. wrote:<br><br>> I got the user correct
 now I am wondering why this is nessasary for my environment.<br>> I am not using Amazon EC2 services so why would I need to get metadata from there API?<br>><br>> Can someone explain?<br><br>Cloud-init uses the "datasource" of the EC2 Metadata service, that<br>Openstack provides a workalike for.<br>That metadata service has things like "instance-id" and "hostname" that<br>are useful.  cloud-init uses instance-id for "run-once-per-instance"<br>functionality.<br><br>cloud-init also gets user-data from the datasource, and that is very<br>useful for initializing images with information provided at launch time by<br>the user.<br><br>If you enable config-drive in openstack, then cloud-init will find the<br>same data above from the config-drive, and wont bother looking for the ec2<br>metadata service.<br><br>Scott<br><br><br></div> </div> </div>  </div></div>_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></blockquote></div><br></div></body></html>