--_=__=_XaM3_.1428409568.2A.773706.42.6460.52.42.007.885104679
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
=0A your mileage may vary!=0A For example we use python api with clou=
d-init and template to reset root password (you can use for example comma=
nd like this: "openssl rand -hex 10") and to configure network / configur=
ation files and freeipa...=0A > Michal, are you working with plain pass=
word or with salted hashed ones?=0A > I had some experiment on hosted-e=
ngine with strange results on that.=0A try to use python api by passin=
g:=0A users=3Dparams.Users(user=3D[params.User(user_name=3D"root", pass=
word=3DSPASSWORD)])=0A have a look at python example on
http://www.ovir=
t.org/Features/Cloud-Init_Integration=0A Best regards=0A Amedeo=0A=0A=
Date: Tue, 7 Apr 2015 13:34:24 +0200=0A=0A > From: Michal
Skrivane=
k <michal.skrivanek(a)redhat.com>=0A=0A > To: Sven Kieske
<S.Kieske@mittw=
ald.de>=0A=0A > Cc: users(a)ovirt.org=0A=0A > Subject: Re: [ovirt-users=
] cloud-init root password?=0A=0A > Message-ID: <02D7FE6F-5638-459C-865=
E-064652CF6162(a)redhat.com>=0A=0A > Content-Type: text/plain; charset=3D=
iso-8859-1=0A=0A >=0A=0A >=0A=0A > On Apr 7, 2015, at 12:21 , Sven =
Kieske <S.Kieske(a)mittwald.de> wrote:=0A=0A >=0A=0A > > On 07/04/15 11=
:31, Michal Skrivanek wrote:=0A=0A > >> Hi Jorick,=0A=0A > >> This
wa=
s 3.5 enhancement to support also non-root users=0A=0A > >> you use use=
rname "root" and set a password:-)=0A=0A > >=0A=0A > > well the
enhan=
cement should not break existing workflows.=0A=0A > >=0A=0A > > if no=
user is supplied you should set "root" as a default.=0A=0A >=0A=0A
>=
well, yeah, it could be pre-filled with root=0A=0A >=0A=0A > >=0A=0A=
> I'd consider this as a regression, if I understand the
change corr=
ect?=0A=0A >=0A=0A > it works like that only with REST
API:)=0A=0A =
changes in UI dialogs are common.=0A=0A >=0A=0A >
Thanks,=0A=0A >=
michal=0A=0A >=0A
--_=__=_XaM3_.1428409568.2A.773706.42.6460.52.42.007.885104679
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
=0A<div class=3D"xam_msg_class">=0Ayour mileage may vary! <br
/><br />For=
example we use python api with cloud-init and template to reset root pas=
sword (you can use for example command like this: "openssl rand -hex=
10") and to configure network / configuration files and freeipa...<=
br /><br />> Michal, are you working with plain password or with salte=
d hashed ones?<br />> I had some experiment on hosted-engine with stra=
nge results on that.<br /><br />try to use python api=C2=A0 by passing: <=
br /><br />users=3Dparams.Users(user=3D[params.User(user_name=3D"roo=
t", password=3DSPASSWORD)])<br /><br />have a look at python
example=
on
http://www.ovirt.org/Features/Cloud-Init_Integration<br /><br />Best =
regards<br />Amedeo<br />=C2=A0<br /><div>> Date: Tue, 7
Apr 2015 13:3=
4:24 +0200</div><div>> From: Michal Skrivanek
<michal.skrivanek@red=
hat.com></div><div>> To: Sven Kieske
&lt;S.Kieske(a)mittwald.de&gt;</=
div><div>> Cc: users(a)ovirt.org</div><div>&gt; Subject: Re:
[ovirt-user=
s] cloud-init root password?</div><div>> Message-ID:
<02D7FE6F-5638=
-459C-865E-064652CF6162(a)redhat.com&gt;</div><div>&gt; Content-Type:
text/=
plain; charset=3Diso-8859-1</div><div>> </div><div>>
</div><div>>=
; On Apr 7, 2015, at 12:21 , Sven Kieske &lt;S.Kieske(a)mittwald.de&gt; wro=
te:</div><div>> </div><div>> > On 07/04/15
11:31, Michal Skrivan=
ek wrote:</div><div>> >> Hi
Jorick,</div><div>> >> This=
was 3.5 enhancement to support also non-root users</div><div>>
>&g=
t; 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 suppli=
ed you should set "root" as a default.</div><div>>
</div><di=
v>> 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><br />=0A</div>=0A
--_=__=_XaM3_.1428409568.2A.773706.42.6460.52.42.007.885104679--