[ovirt-users] cloud-init root password?

Amedeo Salvati amedeo at oscert.net
Tue Apr 7 13:16:27 UTC 2015


   Interesting feature! :D
   @Jorick
   > Can this also be done with the REST-api? I see a <users> section in the
   > example on http://www.ovirt.org/Features/Cloud-Init_Integration
   yes, you can use rest-api too, but I prefer python-sdk...
   best regards
   Amedeo

   Da "Simone Tiraboschi" stirabos at redhat.com

   A "Amedeo Salvati" amedeo at oscert.net

   Cc users at ovirt.org

   Data Tue, 7 Apr 2015 09:09:08 -0400 (EDT)

   Oggetto Re: [ovirt-users] cloud-init root password?

   >

   >

   > ----- Original Message -----

   > > From: "Amedeo Salvati" <amedeo at oscert.net>

   > > To: users at ovirt.org

   > > Sent: Tuesday, April 7, 2015 2:26:08 PM

   > > Subject: Re: [ovirt-users] cloud-init root password?

   > >

   > > 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

   >

   > Sorry, I was talking about a new feature for hosted-engine on 3.6 where you will be able to lunch a pre-built appliance for the engine VM configuring it via cloud-init.

   > In that case we still have not API cause the engine is still not running.

   >

   >

   > > 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

   > > >

   > >

   > >

   > > _______________________________________________

   > > Users mailing list

   > > Users at ovirt.org

   > > http://lists.ovirt.org/mailman/listinfo/users

   > >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20150407/b2430666/attachment-0001.html>


More information about the Users mailing list