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" stira...@redhat.com A "Amedeo Salvati" ame...@oscert.net Cc users@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" <ame...@oscert.net> > > To: users@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.skriva...@redhat.com> > > > To: Sven Kieske <s.kie...@mittwald.de> > > > Cc: users@ovirt.org > > > Subject: Re: [ovirt-users] cloud-init root password? > > > Message-ID: <02d7fe6f-5638-459c-865e-064652cf6...@redhat.com> > > > Content-Type: text/plain; charset=iso-8859-1 > > > > > > > > > On Apr 7, 2015, at 12:21 , Sven Kieske <s.kie...@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@ovirt.org > > http://lists.ovirt.org/mailman/listinfo/users > >
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users