<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 09/24/2013 05:53 PM, Joshua Harlow
      wrote:<br>
    </div>
    <blockquote cite="mid:CE6757AC.48541%25harlowja@yahoo-inc.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div>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).</div>
      <div><br>
      </div>
      <div>It might have changed though.</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>Abel Lopez <<a
            moz-do-not-send="true" href="mailto:alopgeek@gmail.com">alopgeek@gmail.com</a>><br>
          <span style="font-weight:bold">Date: </span>Tuesday,
          September 24, 2013 2:12 PM<br>
          <span style="font-weight:bold">To: </span>"<a
            moz-do-not-send="true"
            href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a>"
          <<a moz-do-not-send="true"
            href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a>><br>
          <span style="font-weight:bold">Subject: </span>[Openstack-operators]
          cloud-init root password from meta-data?<br>
        </div>
        <div><br>
        </div>
        <div>
          <div>
            <div dir="ltr">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?</div>
          </div>
        </div>
      </span>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
OpenStack-operators mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a>
</pre>
    </blockquote>
    Not quite the same thing, but I generated a script to do FreeIPA
    registration that uses an OTP:<br>
    <br>
    adam.younglogic.com/2013/09/register-vm-freeipa/<br>
  </body>
</html>