<div class="xam_msg_class">
                        Interesting feature! :D <br /><br />@Jorick<br />> Can this also be done with the REST-api? I see a <users> section in the<br />> example on http://www.ovirt.org/Features/Cloud-Init_Integration<br /><br />yes, you can use rest-api too, but I prefer python-sdk...<br /><br />best regards<br />Amedeo <br /><br /><br /> <br />
<div><span style="font-family:Arial; font-size:11px; color:#5F5F5F;">Da</span><span style="font-family:Arial; font-size:12px; color:#5F5F5F; padding-left:5px;"> "Simone Tiraboschi" stirabos@redhat.com</span></div>
<div><span style="font-family:Arial; font-size:11px; color:#5F5F5F;">A</span><span style="font-family:Arial; font-size:12px; color:#5F5F5F; padding-left:5px;"> "Amedeo Salvati" amedeo@oscert.net</span></div>
<div><span style="font-family:Arial; font-size:11px; color:#5F5F5F;">Cc</span><span style="font-family:Arial; font-size:12px; color:#5F5F5F; padding-left:5px;"> users@ovirt.org</span></div>
<div><span style="font-family:Arial; font-size:11px; color:#5F5F5F;">Data</span><span style="font-family:Arial; font-size:12px; color:#5F5F5F; padding-left:5px;"> Tue, 7 Apr 2015 09:09:08 -0400 (EDT)</span></div>
<div><span style="font-family:Arial; font-size:11px; color:#5F5F5F;">Oggetto</span><span style="font-family:Arial; font-size:12px; color:#5F5F5F; padding-left:5px;"> Re: [ovirt-users] cloud-init root password?</span></div>
<br />
<div>> </div><div>> </div><div>> ----- Original Message -----</div><div>> > From: "Amedeo Salvati" <amedeo@oscert.net></div><div>> > To: users@ovirt.org</div><div>> > Sent: Tuesday, April 7, 2015 2:26:08 PM</div><div>> > Subject: Re: [ovirt-users] cloud-init root password?</div><div>> > </div><div>> > your mileage may vary!</div><div>> > </div><div>> > For example we use python api with cloud-init and template to reset root</div><div>> > password (you can use for example command like this: "openssl rand -hex 10")</div><div>> > and to configure network / configuration files and freeipa...</div><div>> > </div><div>> > > Michal, are you working with plain password or with salted hashed ones?</div><div>> > > I had some experiment on hosted-engine with strange results on that.</div><div>> > </div><div>> > try to use python api by passing:</div><div>> > </div><div>> > users=params.Users(user=[params.User(user_name="root", password=SPASSWORD)])</div><div>> > </div><div>> > have a look at python example on</div><div>> > http://www.ovirt.org/Features/Cloud-Init_Integration</div><div>> </div><div>> 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.</div><div>> In that case we still have not API cause the engine is still not running.</div><div>> </div><div>> </div><div>> > Best regards</div><div>> > Amedeo</div><div>> > </div><div>> > > Date: Tue, 7 Apr 2015 13:34:24 +0200</div><div>> > > From: Michal Skrivanek <michal.skrivanek@redhat.com></div><div>> > > To: Sven Kieske <S.Kieske@mittwald.de></div><div>> > > Cc: users@ovirt.org</div><div>> > > Subject: Re: [ovirt-users] cloud-init root password?</div><div>> > > Message-ID: <02D7FE6F-5638-459C-865E-064652CF6162@redhat.com></div><div>> > > Content-Type: text/plain; charset=iso-8859-1</div><div>> > > </div><div>> > > </div><div>> > > On Apr 7, 2015, at 12:21 , Sven Kieske <S.Kieske@mittwald.de> wrote:</div><div>> > > </div><div>> > > > On 07/04/15 11:31, Michal Skrivanek wrote:</div><div>> > > >> Hi Jorick,</div><div>> > > >> This was 3.5 enhancement to support also non-root users</div><div>> > > >> you use username "root" and set a password:-)</div><div>> > > > </div><div>> > > > well the enhancement should not break existing workflows.</div><div>> > > > </div><div>> > > > if no user is supplied you should set "root" as a default.</div><div>> > > </div><div>> > > well, yeah, it could be pre-filled with root</div><div>> > > </div><div>> > > > </div><div>> > > > I'd consider this as a regression, if I understand the change correct?</div><div>> > > </div><div>> > > it works like that only with REST API:)</div><div>> > > changes in UI dialogs are common.</div><div>> > > </div><div>> > > Thanks,</div><div>> > > michal</div><div>> > > </div><div>> > </div><div>> > </div><div>> > _______________________________________________</div><div>> > Users mailing list</div><div>> > Users@ovirt.org</div><div>> > http://lists.ovirt.org/mailman/listinfo/users</div><div>> > </div>
                
</div>