[ovirt-users] cloud-init root password?
Amedeo Salvati
amedeo at oscert.net
Tue Apr 7 08:26:08 EDT 2015
your mileage may vary!
For example we use python api with cloud-init and template to reset root password (you can use for example command like this: "openssl rand -hex 10") and to configure network / configuration files and freeipa...
> Michal, are you working with plain password or with salted hashed ones?
> I had some experiment on hosted-engine with strange results on that.
try to use python api by passing:
users=params.Users(user=[params.User(user_name="root", password=SPASSWORD)])
have a look at python example on http://www.ovirt.org/Features/Cloud-Init_Integration
Best regards
Amedeo
> Date: Tue, 7 Apr 2015 13:34:24 +0200
> From: Michal Skrivanek <michal.skrivanek at redhat.com>
> To: Sven Kieske <S.Kieske at mittwald.de>
> Cc: users at ovirt.org
> Subject: Re: [ovirt-users] cloud-init root password?
> Message-ID: <02D7FE6F-5638-459C-865E-064652CF6162 at redhat.com>
> Content-Type: text/plain; charset=iso-8859-1
>
>
> On Apr 7, 2015, at 12:21 , Sven Kieske <S.Kieske at mittwald.de> wrote:
>
> > On 07/04/15 11:31, Michal Skrivanek wrote:
> >> Hi Jorick,
> >> This was 3.5 enhancement to support also non-root users
> >> you use username "root" and set a password:-)
> >
> > well the enhancement should not break existing workflows.
> >
> > if no user is supplied you should set "root" as a default.
>
> well, yeah, it could be pre-filled with root
>
> >
> > I'd consider this as a regression, if I understand the change correct?
>
> it works like that only with REST API:)
> changes in UI dialogs are common.
>
> Thanks,
> michal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20150407/84bfaa6c/attachment.html>
More information about the Users
mailing list