<div dir="ltr">Hello,<div><br></div><div>We've used this in the past:</div><div><br></div><div><a href="https://github.com/jordanrinke/openstack">https://github.com/jordanrinke/openstack</a><br></div><div><br></div><div>
It allows a user to type in an Administrator password in the Post Config text box when launching an instance in Horizon. The password is then retrieved when Windows first boots via the metadata service.</div><div><br></div>
<div>We stopped using it for two reasons, though:</div><div><br></div><div>1. The password was permanently stored in the metadata server</div><div>2. There was no (default) way to let the user know that the password they chose was not a strong enough password</div>
<div><br></div><div>We now just have users connect to the VNC console and set the password upon first boot.</div><div><br></div><div>There have been a few discussions over the past year on the openstack-operators list about the cloudbase Windows cloud-init service. I think one or two people have been able to get the password injection portion working. It might be worth a shot to search the archives:</div>
<div><br></div><div><a href="http://www.gossamer-threads.com/lists/openstack/operators/">http://www.gossamer-threads.com/lists/openstack/operators/</a><br></div><div><br></div><div>Joe</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Sun, Jan 19, 2014 at 4:21 AM, jeffty <span dir="ltr"><<a href="mailto:wantwatering@gmail.com" target="_blank">wantwatering@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks Jacob.<br>
<br>
Is there any openstack API guide for send instance password while launch it?<br>
<br>
Thanks.<br>
<div class="im HOEnZb"><br>
On 1/19/2014 11:08 AM, Jacob Godin wrote:<br>
> Yes, they must input a password every time. It's within Windows, they<br>
> must use the console.<br>
><br>
> Sent from my mobile device<br>
><br>
> On Jan 18, 2014 10:51 PM, "jeffty" <<a href="mailto:wantwatering@gmail.com">wantwatering@gmail.com</a><br>
</div><div class="im HOEnZb">> <mailto:<a href="mailto:wantwatering@gmail.com">wantwatering@gmail.com</a>>> wrote:<br>
><br>
>     Thanks Jacob.<br>
><br>
>     Then the user must input a password for every windows instance he<br>
>     launched?<br>
><br>
>     In other word different instance owns different password even they are<br>
>     launched at the same time? e.g. Input 3 while launching instance in<br>
>     Horizon portal for this windows image.<br>
><br>
>     If yes, how to send this password to the instance in portal? That should<br>
>     be implemented by meta service.<br>
><br>
>     If no, all of the instances have the same default password, right?<br>
><br>
><br>
>     On 1/19/2014 10:02 AM, Jacob Godin wrote:<br>
>     > We've used sysprep to have the administrator provide a password<br>
>     when the<br>
>     > instance is first booted.<br>
><br>
<br>
<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</div></div></blockquote></div><br></div>