
From: "Amedeo Salvati" <amedeo@oscert.net>=0A=0A > > To: users@ov= irt.org=0A=0A > > Sent: Tuesday, April 7, 2015 2:26:08 PM=0A=0A > > S= ubject: Re: [ovirt-users] cloud-init root password?=0A=0A > >=0A=0A >= your mileage may vary!=0A=0A > >=0A=0A > > For example we use pyth= on api with cloud-init and template to reset root=0A=0A > > password (y= ou can use for example command like this: "openssl rand -hex 10")=0A=0A = and to configure network / configuration files and freeipa...=0A=0A = =0A=0A > > > Michal, are you working with plain password or with s= alted hashed ones?=0A=0A > > > I had some experiment on hosted-engine w= ith strange results on that.=0A=0A > >=0A=0A > > try to use python ap= i by passing:=0A=0A > >=0A=0A > > users=3Dparams.Users(user=3D[params= .User(user_name=3D"root", password=3DSPASSWORD)])=0A=0A > >=0A=0A > >= have a look at python example on=0A=0A > > http://www.ovirt.org/Featur= es/Cloud-Init_Integration=0A=0A >=0A=0A > Sorry, I was talking about = a new feature for hosted-engine on 3.6 where you will be able to lunch a =
--_=__=_XaM3_.1428412588.2A.288165.42.31028.52.42.007.925159685 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable =0A Interesting feature! :D=0A @Jorick=0A > Can this also be done w= ith the REST-api? I see a <users> section in the=0A > example on http:/= /www.ovirt.org/Features/Cloud-Init_Integration=0A yes, you can use rest= -api too, but I prefer python-sdk...=0A best regards=0A Amedeo=0A=0A = Da "Simone Tiraboschi" stirabos@redhat.com=0A=0A A "Amedeo Salvati" a= medeo@oscert.net=0A=0A Cc users@ovirt.org=0A=0A Data Tue, 7 Apr 2015 = 09:09:08 -0400 (EDT)=0A=0A Oggetto Re: [ovirt-users] cloud-init root pa= ssword?=0A=0A >=0A=0A >=0A=0A > ----- Original Message -----=0A=0A = pre-built appliance for the engine VM configuring it via cloud-init.=0A=0A=
In that case we still have not API cause the engine is still not run= ning.=0A=0A >=0A=0A >=0A=0A > > Best regards=0A=0A > > Amedeo=0A=0A=
=0A=0A > > > Date: Tue, 7 Apr 2015 13:34:24 +0200=0A=0A > > > F= rom: Michal Skrivanek <michal.skrivanek@redhat.com>=0A=0A > > > To: Sve= n Kieske <S.Kieske@mittwald.de>=0A=0A > > > Cc: users@ovirt.org=0A=0A =
Subject: Re: [ovirt-users] cloud-init root password?=0A=0A > > >= Message-ID: <02D7FE6F-5638-459C-865E-064652CF6162@redhat.com>=0A=0A > = Content-Type: text/plain; charset=3Diso-8859-1=0A=0A > > >=0A=0A = =0A=0A > > > On Apr 7, 2015, at 12:21 , Sven Kieske <S.Kieske@mitt= wald.de> wrote:=0A=0A > > >=0A=0A > > > > On 07/04/15 11:31, Michal S= krivanek wrote:=0A=0A > > > >> Hi Jorick,=0A=0A > > > >> This was 3.5= enhancement to support also non-root users=0A=0A > > > >> you use user= name "root" and set a password:-)=0A=0A > > > >=0A=0A > > > > well th= e enhancement 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 regressio= n, if I understand the change correct?=0A=0A > > >=0A=0A > > > it wor= ks 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=0A > >=0A=0A > >=0A=0A > > ______________________________= _________________=0A=0A > > Users mailing list=0A=0A > > Users@ovirt.= org=0A=0A > > http://lists.ovirt.org/mailman/listinfo/users=0A=0A > >= =0A --_=__=_XaM3_.1428412588.2A.288165.42.31028.52.42.007.925159685 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
<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>&= gt; > and to configure network / configuration files and freeipa...</d= iv><div>> > </div><div>> > > Michal, are you working with =
> > </div><div>> > try to use python api by passing:</div><d= iv>> > </div><div>> > users=3Dparams.Users(user=3D[params.Use= r(user_name=3D"root", password=3DSPASSWORD)])</div><div>> &g= t; </div><div>> > have a look at python example on</div><div>> &= gt; 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 eng= ine VM configuring it via cloud-init.</div><div>> In that case we stil= l have not API cause the engine is still not running.</div><div>> </di= v><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.skri= vanek@redhat.com></div><div>> > > To: Sven Kieske <S.Kiesk= e@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= =3Diso-8859-1</div><div>> > > </div><div>> > > </div><d= iv>> > > On Apr 7, 2015, at 12:21 , Sven Kieske <S.Kieske@mit= twald.de> wrote:</div><div>> > > </div><div>> > > &g= t; On 07/04/15 11:31, Michal Skrivanek wrote:</div><div>> > > &g= t;> Hi Jorick,</div><div>> > > >> This was 3.5 enhancem= ent to support also non-root users</div><div>> > > >> you = use username "root" and set a password:-)</div><div>> > &= gt; > </div><div>> > > > well the enhancement should not b= reak existing workflows.</div><div>> > > > </div><div>> &g= t; > > if no user is supplied you should set "root" as a = default.</div><div>> > > </div><div>> > > well, yeah, i= t could be pre-filled with root</div><div>> > > </div><div>> = > > > </div><div>> > > > I'd consider this as a regr= ession, if I understand the change correct?</div><div>> > > </di= v><div>> > > it works like that only with REST API:)</div><div>&= gt; > > changes in UI dialogs are common.</div><div>> > > = </div><div>> > > Thanks,</div><div>> > > michal</div><d= iv>> > > </div><div>> > </div><div>> > </div><div>&g= t; > _______________________________________________</div><div>> &g= t; Users mailing list</div><div>> > Users@ovirt.org</div><div>> = > http://lists.ovirt.org/mailman/listinfo/users</div><div>> > </=
=0A<div class=3D"xam_msg_class">=0A=0A Interesting feature! :D <br /><b= r />@Jorick<br />> Can this also be done with the REST-api? I see a &l= t;users> section in the<br />> example on http://www.ovirt.org/Feat= ures/Cloud-Init_Integration<br /><br />yes, you can use rest-api too, but= I prefer python-sdk...<br /><br />best regards<br />Amedeo=C2=A0 <br /><= br /><br />=C2=A0<br />=0A<div><span style=3D"font-family:Arial; font-siz= e:11px; color:#5F5F5F;">Da</span><span style=3D"font-family:Arial; font-s= ize:12px; color:#5F5F5F; padding-left:5px;"> "Simone Tiraboschi"= ; stirabos@redhat.com</span></div>=0A<div><span style=3D"font-family:Aria= l; font-size:11px; color:#5F5F5F;">A</span><span style=3D"font-family:Ari= al; font-size:12px; color:#5F5F5F; padding-left:5px;"> "Amedeo Salva= ti" amedeo@oscert.net</span></div>=0A<div><span style=3D"font-family= :Arial; font-size:11px; color:#5F5F5F;">Cc</span><span style=3D"font-fami= ly:Arial; font-size:12px; color:#5F5F5F; padding-left:5px;"> users@ovirt.= org</span></div>=0A<div><span style=3D"font-family:Arial; font-size:11px;= color:#5F5F5F;">Data</span><span style=3D"font-family:Arial; font-size:1= 2px; color:#5F5F5F; padding-left:5px;"> Tue, 7 Apr 2015 09:09:08 -0400 (E= DT)</span></div>=0A<div><span style=3D"font-family:Arial; font-size:11px;= color:#5F5F5F;">Oggetto</span><span style=3D"font-family:Arial; font-siz= e:12px; color:#5F5F5F; padding-left:5px;"> Re: [ovirt-users] cloud-init r= oot password?</span></div>=0A<br />=0A<div>> </div><div>> </div><di= v>> ----- Original Message -----</div><div>> > From: "Amede= o Salvati" <amedeo@oscert.net></div><div>> > To: users@o= virt.org</div><div>> > Sent: Tuesday, April 7, 2015 2:26:08 PM</div= plain password or with salted hashed ones?</div><div>> > > I had= some experiment on hosted-engine with strange results on that.</div><div= div>=0A =0A</div>=0A --_=__=_XaM3_.1428412588.2A.288165.42.31028.52.42.007.925159685--