Password is not set correctly
Hello,
I've build my own Windows Image (Windows 2012 R2 Standard) by following this guide: http://docs.openstack.org/image-guide...
I am creating my instances with metadata => {admin_pass => "MySpecialPassword123!@"}. My generated passwords are following the Windows password complexity requirements: https://technet.microsoft.com/en-us/l...
I want to use my own password passed by the Metadata Service of OpenStack.
I've set the following attributes in both configs:
- C:\Program Files\Cloudbase Solutions\Cloudbase-Init\conf\cloudbase-init.conf
- C:\Program Files\Cloudbase Solutions\Cloudbase-Init\conf\cloudbase-init-unattend.conf
inject_user_password=true first_logon_behaviour=no username=Administrator
The OpenStack Instance Log shows up also "Set password for existing user Administrator". Looks fine but I can't login with my metadata password and Windows still tells me to change my password after the login. I don't know why this happens because firstlogonbehaviour is set to "no".
As quick-fix I am setting my passwords via powershell by myself. But that solution is really dirty and I would recommend to use the build-in function.
Does anyone know what the problem can be?
Thank you!
Regards, Alexander
I had a similar issue (I had a similar issue. http://ask.cloudbase.it/question/1298/let-user-set-password-without-auto-generated-password-on-initial-boot/ ) but never got a solution. I would be interested in seeing an answer to this as well.
I had this response but have no idea what it means. http://ask.cloudbase.it/question/1391/cloudbase-init-wont-prompt-user-for-password-change-first-startup/
On this part, can you provide the full cloudbase-init log and the version you are using, plus the metadata, as it seems there might be an issue with the metadata on your side, if you cannot even connect login (if I understood correctly). Thanks.