juju: how to get Admin password for windows
Andrew Wilkins
andrew.wilkins at canonical.com
Tue Jun 14 23:13:47 UTC 2016
On Tue, Jun 14, 2016 at 11:45 PM Геннадий Дубина <hamsterksu at gmail.com>
wrote:
> Hi everybody,
>
> We are using juju(v.2.0) to deploy windows machine to openstack(nova)
> We use windows 2012 r2 image from cloudbase.
>
> Machine was created successfully.
> but i don't know how to get Admin user password.
>
> i have found one option: "nova get-password <instance-id>
> <private-key-path>"
> but it doesn't work in juju case. seems it doesn't provide private key for
> this machine.
> "key name" field is "None" for this machine on openstack details page.
>
> also "juju ssh <machine id>" doesn't work for window machine too
>
> so how to get password for this machine? we need to get RDP.
>
You should be able to do something like:
juju run --machine <machine-id> "net user JujuAdministrator <password>"
Thanks,
> --
> Gennadiy Dubina
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20160614/1474e065/attachment.html>
More information about the Juju
mailing list