How to Inject Password Windows Server 2012 on Nova Openstack (EN)
This case occurred after migrating virtual machines from virtualbox to openstack, When I wanted to enter the console, I forgot the password on the windows server.
After I looked for a way to get into the windows server, I found a way to inject the password from ~/ssh/rsa_id on the openstack server.
First, login to admin.rc
source /etc/kolla/admin.rc
Second go to the openstack osclient env
source osclient/bin/activate
Then try to see the list of windows server instances that you want to access through the console
openstack server list
Then enter this command
nova get-password NAME_INSTANCES~/.ssh/id_rsa
Then try to enter the last credentials or code from the command earlier
KYlSEJAxiwBa2rmjyas6
And windows server can be accessed again, hoho
That’s all for sharing this time, for the next I will update more about the knowledge I learned here.