New Question

Revision history [back]

click to hide/show revision 1
initial version


First of all, if you use a nova key-pair to boot the machine, you can retrieve the user password by using "nova get-password <instance-id> <private-key-path>". If you use the Windows Server 2012 R2 trial image from our site, the default user is "Admin". The default user can be changed in the cloudbase-init.conf. If you use OpenStack, it is possible to post the password to the Openstack metadata service just once, thus if you run the plugin the second time, even if it will change the password, the first password will be available to nova.

Secondly, you can use the userdata-scripts(powershell, batch or other types) to execute your preferred password logic. If the exit code of the userdata script is 1002, the script will be executed at the next boot(re-executing the userdata plugin).

More information can be found here: