This is a multi-part message in MIME format.
--------------020002030507050102080601
Content-Type: text/plain;
charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
On 04/07/2015 02=3A26 PM=2C Amedeo Salvati wrote=3A
=3E your mileage may vary!
=3E
=3E For example we use python api with cloud-init and template to reset
=3E root password =28you can use for example command like this=3A =22openss=
l
=3E rand -hex 10=22=29 and to configure network / configuration files and=
=3E freeipa=2E=2E=2E
=3E
=3E =3E Michal=2C are you working with plain password or with salted hashed=
ones=3F
=3E =3E I had some experiment on hosted-engine with strange results on that=
=2E
=3E
=3E try to use python api by passing=3A
=3E
=3E users=3Dparams=2EUsers=28user=3D=5Bparams=2EUser=28user=5Fname=3D=22roo=
t=22=2C
=3E password=3DSPASSWORD=29=5D=29
=3E
=3E have a look at python example on
=3E http=3A//www=2Eovirt=2Eorg/Features/Cloud-Init=5FIntegration
=3E
=3E Best regards
=3E Amedeo
Can this also be done with the REST-api=3F I see a =3Cusers=3E section in t=
he
example on http=3A//www=2Eovirt=2Eorg/Features/Cloud-Init=5FIntegration
=3Cusers=3E
=3Cuser=3E
=3Cuser=5Fname=3Eroot=3C/user=5Fname=3E
=3Cpassword=3EmyPass=3C/password=3E
=3C/user=3E
=3C/users=3E
Met vriendelijke groet=2C With kind regards=2C
Jorick Astrego
Netbulae Virtualization Experts=20
----------------
=09Tel=3A 053 20 30 270 =09info=40netbulae=2Eeu =09Staalsteden 4-3A =09KvK=
08198180
=09Fax=3A 053 20 30 271 =09www=2Enetbulae=2Eeu =097547 TA Enschede =09BTW=
NL821234584B01
----------------
--------------020002030507050102080601
Content-Type: text/html;
charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
=3Chtml=3E
=3Chead=3E
=3Cmeta content=3D=22text/html=3B charset=3Dwindows-1252=22
http-equiv=3D=22Content-Type=22=3E
=3C/head=3E
=3Cbody bgcolor=3D=22=23FFFFFF=22 text=3D=22=23000000=22=3E
=3Cbr=3E
=3Cbr=3E
=3Cdiv class=3D=22moz-cite-prefix=22=3EOn 04/07/2015 02=3A26 PM=2C Amed=
eo Salvati
wrote=3A=3Cbr=3E
=3C/div=3E
=3Cblockquote
cite=3D=22mid=3ANMFRVK=24D9C5521B6C742DE0EA79BC17D9E739A1=40oscert=2E=
net=22
type=3D=22cite=22=3E
=3Cdiv class=3D=22xam=5Fmsg=5Fclass=22=3E
your mileage may vary! =3Cbr=3E
=3Cbr=3E
For example we use python api with cloud-init and template to
reset root password =28you can use for example command like this=3A=
=22openssl rand -hex 10=22=29 and to configure network / configurat=
ion
files and freeipa=2E=2E=2E=3Cbr=3E
=3Cbr=3E
=26gt=3B Michal=2C are you working with plain password or with salt=
ed
hashed ones=3F=3Cbr=3E
=26gt=3B I had some experiment on hosted-engine with strange result=
s
on that=2E=3Cbr=3E
=3Cbr=3E
try to use python api=A0 by passing=3A =3Cbr=3E
=3Cbr=3E
users=3Dparams=2EUsers=28user=3D=5Bparams=2EUser=28user=5Fname=3D=
=22root=22=2C
password=3DSPASSWORD=29=5D=29=3Cbr=3E
=3Cbr=3E
have a look at python example on
=3Ca class=3D=22moz-txt-link-freetext=22 href=3D=22http=3A//www=2Eo=
virt=2Eorg/Features/Cloud-Init=5FIntegration=22=3Ehttp=3A//www=2Eovirt=2Eor=
g/Features/Cloud-Init=5FIntegration=3C/a=3E=3Cbr=3E
=3Cbr=3E
Best regards=3Cbr=3E
Amedeo =3Cbr=3E
=3C/div=3E
=3C/blockquote=3E
=3Cbr=3E
Can this also be done with the REST-api=3F I see a =26lt=3Busers=26gt=
=3B
section in the example on
=3Ca class=3D=22moz-txt-link-freetext=22 href=3D=22http=3A//www=2Eovirt=
=2Eorg/Features/Cloud-Init=5FIntegration=22=3Ehttp=3A//www=2Eovirt=2Eorg/Fe=
atures/Cloud-Init=5FIntegration=3C/a=3E=3Cbr=3E
=3Cblockquote=3E
=3Cpre=3E =26lt=3Busers=26gt=3B
=26lt=3Buser=26gt=3B
=26lt=3Buser=5Fname=26gt=3Broot=26lt=3B/user=5Fname=26gt=3B
=26lt=3Bpassword=26gt=3BmyPass=26lt=3B/password=26gt=3B
=26lt=3B/user=26gt=3B
=26lt=3B/users=26gt=3B
=3C/pre=3E
=3C/blockquote=3E
=3Cbr=3E
=3Cpre=3E
=3C/pre=3E
=20=
=3CBR /=3E
=3CBR /=3E
=3Cb style=3D=22color=3A=23604c78=22=3E=3C/b=3E=3Cbr=3E=3Cspan style=3D=22c=
olor=3A=23604c78=3B=22=3E=3Cfont color=3D=22000000=22=3E=3Cspan style=3D=22=
mso-fareast-language=3Aen-gb=3B=22 lang=3D=22NL=22=3EMet vriendelijke groet=
=2C With kind regards=2C=3Cbr=3E=3Cbr=3E=3C/span=3EJorick Astrego=3C/font=
=3E=3C/span=3E=3Cb style=3D=22color=3A=23604c78=22=3E=3Cbr=3E=3Cbr=3ENetbul=
ae Virtualization Experts =3C/b=3E=3Cbr=3E=3Chr style=3D=22border=3Anone=3B=
border-top=3A1px solid =23ccc=3B=22=3E=3Ctable style=3D=22width=3A 522px=22=
=3E=3Ctbody=3E=3Ctr=3E=3Ctd style=3D=22width=3A 130px=3Bfont-size=3A 10px=
=22=3ETel=3A 053 20 30 270=3C/td=3E =3Ctd style=3D=22width=3A 130px=3Bf=
ont-size=3A 10px=22=3Einfo=40netbulae=2Eeu=3C/td=3E =3Ctd style=3D=22wid=
th=3A 130px=3Bfont-size=3A 10px=22=3EStaalsteden 4-3A=3C/td=3E =3Ctd sty=
le=3D=22width=3A 130px=3Bfont-size=3A 10px=22=3EKvK 08198180=3C/td=3E=3C/tr=
=3E=3Ctr=3E =3Ctd style=3D=22width=3A 130px=3Bfont-size=3A 10px=22=3EFax=
=3A 053 20 30 271=3C/td=3E =3Ctd style=3D=22width=3A 130px=3Bfont-size=
=3A 10px=22=3Ewww=2Enetbulae=2Eeu=3C/td=3E =3Ctd style=3D=22width=3A 130=
px=3Bfont-size=3A 10px=22=3E7547 TA Enschede=3C/td=3E =3Ctd style=3D=22w=
idth=3A 130px=3Bfont-size=3A 10px=22=3EBTW NL821234584B01=3C/td=3E=3C/tr=3E=
=3C/tbody=3E=3C/table=3E=3Cbr=3E=3Chr style=3D=22border=3Anone=3Bborder-top=
=3A1px solid =23ccc=3B=22=3E=3CBR /=3E
=3C/body=3E
=3C/html=3E
--------------020002030507050102080601--