On 09/24/2013 05:53 PM, Joshua Harlow wrote: > From my understanding, this isn't done via cloud-init, but instead is > done via nasty file injection that actually adjusts the /etc/shadow > (or similar file). > > It might have changed though. > > From: Abel Lopez <alopgeek at gmail.com <mailto:alopgeek at gmail.com>> > Date: Tuesday, September 24, 2013 2:12 PM > To: "OpenStack-operators at lists.openstack.org > <mailto:OpenStack-operators at lists.openstack.org>" > <OpenStack-operators at lists.openstack.org > <mailto:OpenStack-operators at lists.openstack.org>> > Subject: [Openstack-operators] cloud-init root password from meta-data? > > I've been googling for a while, and I see lots of examples of setting > the root password using user-data, but I want to know how I can use > the random "admin-pass" that's created at instance creation. Does > anyone have an example of how cloud-init can use that? > > > _______________________________________________ > OpenStack-operators mailing list > OpenStack-operators at lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators Not quite the same thing, but I generated a script to do FreeIPA registration that uses an OTP: adam.younglogic.com/2013/09/register-vm-freeipa/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20130924/be10d2c7/attachment.html>