New Question
0

setting cloudbase-init password using Horizon

asked 2015-11-17 02:00:26 +0300

Pavo gravatar image

Is there anyway to set the username and password for a Windows instance in Horizon dashboard? I have read the docs and see away to set it with the nova boot command but I would like to not have to use the nova boot command every single time.

edit retag flag offensive close merge delete

3 answers

Sort by » oldest newest most voted
0

answered 2015-11-17 15:20:20 +0300

avladu gravatar image

Hello,

Currently there is no direct way of setting the instance password using Horizon. One alternative is to use a keypair when launching an instance and then use nova to retrieve the password:

nova get-password <server> [<private-key>]

where private-key is the path where you have the private key file. This solution works when you have http metadata enabled.

Thanks.

edit flag offensive delete link more
0

answered 2015-11-25 00:21:00 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

https://dev.cloudwatt.com/en/blog/hor...

OPENSTACKENABLEPASSWORD_RETRIEVE = True

edit flag offensive delete link more
0

answered 2015-11-21 02:26:22 +0300

Pavo gravatar image

Ok I see that I can retrieve the password for the Windows instance using CLI from the controller but is there away to do this from a remote system that only has the private key of the keypair?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Stats

Asked: 2015-11-17 02:00:26 +0300

Seen: 383 times

Last updated: Nov 25 '15