[Openstack-operators] cloud-init root password from meta-data?

Joshua Harlow harlowja at yahoo-inc.com
Tue Sep 24 21:53:06 UTC 2013


>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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20130924/15f193da/attachment.html>


More information about the OpenStack-operators mailing list