Ask Your Question

How can I get root password from the VM

asked 2020-05-01 19:33:55 -0500

New_bee gravatar image

I need to get the root password from using API's and pass it to client after it's deployed.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2020-05-02 00:47:12 -0500

Most cloud images don't have a root password. You communicate with them through a normal user and SSH keys. If they do have a password, there is normally no way to retrieve it.

It is, however, possible to have Nova inject a password into the instance. It will be shown in the instance details. There are a number of conditions; see

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2020-05-01 19:33:55 -0500

Seen: 444 times

Last updated: May 02 '20