<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;" class="">You can get admin_pass from the openstack metadata directory in config drive, and use a boot-time script to set the password accordingly.<div class="">This example assumes the dhcp style metadata, but you can see how you could simply change it to read the fail instead</div><div class=""><a href="https://gist.github.com/vishvananda/4008762" class="">https://gist.github.com/vishvananda/4008762</a></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 29, 2015, at 4:51 AM, Miguel A Diaz Corchero <<a href="mailto:miguelangel.diaz@externos.ciemat.es" class="">miguelangel.diaz@externos.ciemat.es</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" class="">
<div text="#000000" bgcolor="#FFFFFF" class="">
Hi all,<br class="">
<br class="">
I need a bit help with this issue in Icehouse. The root password
injection of libvirt, which worked pretty well, stops working after
configuring the <b class=""><small class="">force_config_drive</small></b>. And now,
the config drive is working perfectly used by the cloud-init which
mounts the /dev/sr0, takes metadata, sets users, and so. The problem
is that the admin password set in Horizon is not included inside the
instance, instead, the root password of /etc/shadow changes in every
instance.<br class="">
<br class="">
Any idea to force the injection of admin/root password (through
Horizon) and the config_drive at the same time? <br class="">
<br class="">
Could cloud_init overwrite the /etc/shadow when instance is booting?<br class="">
<br class="">
Miguel.<br class="">
<br class="">
<br class="">
<br class="">
<div class="moz-signature">-- <br class="">
<i class=""><font size="2" class=""><span style="" class=""><span style="font-family:Century Gothic,sans-serif,10;" class="">Miguel
Angel Díaz Corchero</span></span></font></i><font size="2" class=""><br class="">
<i class=""><b class=""><span style="font-family:Century Gothic,sans-serif;" class="">System
Administrator / Researcher</span></b></i><br class="">
<i class=""><span style="font-family:Century Gothic,sans-serif;" class="">c/ Sola
nº 1; 10200 TRUJILLO, SPAIN</span></i><br class="">
<i class=""><span style="font-family:Century Gothic,sans-serif;" class="">Tel: +34
927 65 93 17 Fax: +34 927 32 32 37</span></i><p class=""><span class=""><a href="http://www.ceta-ciemat.es/" class=""><span id="cid:part1.05040607.08090202@externos.ciemat.es"><image001.png></span></a></span></p>
</font></div>
<pre class=""><i class=""><font size="-1" face="Times New Roman, Times, serif" class="">
----------------------------
Confidencialidad:
Este mensaje y sus ficheros adjuntos se dirige exclusivamente a su destinatario y puede contener información privilegiada o
confidencial. Si no es vd. el destinatario indicado, queda notificado de que la utilización, divulgación y/o copia sin autorización está
prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique
inmediatamente respondiendo al mensaje y proceda a su destrucción.
Disclaimer:
This message and its attached files is intended exclusively for its recipients and may contain confidential information. If you received
this e-mail in error you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited and
may be unlawful. In this case, please notify us by a reply and delete this email and its contents immediately.
----------------------------
</font></i>
</pre></div>
_______________________________________________<br class="">OpenStack-operators mailing list<br class=""><a href="mailto:OpenStack-operators@lists.openstack.org" class="">OpenStack-operators@lists.openstack.org</a><br class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators<br class=""></div></blockquote></div><br class=""></div></body></html>