<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 04/07/2015 02:26 PM, Amedeo Salvati
wrote:<br>
</div>
<blockquote
cite="mid:NMFRVK$D9C5521B6C742DE0EA79BC17D9E739A1@oscert.net"
type="cite">
<div class="xam_msg_class">
your mileage may vary! <br>
<br>
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...<br>
<br>
> Michal, are you working with plain password or with salted
hashed ones?<br>
> I had some experiment on hosted-engine with strange results
on that.<br>
<br>
try to use python api by passing: <br>
<br>
users=params.Users(user=[params.User(user_name="root",
password=SPASSWORD)])<br>
<br>
have a look at python example on
<a class="moz-txt-link-freetext" href="http://www.ovirt.org/Features/Cloud-Init_Integration">http://www.ovirt.org/Features/Cloud-Init_Integration</a><br>
<br>
Best regards<br>
Amedeo <br>
</div>
</blockquote>
<br>
Can this also be done with the REST-api? I see a <users>
section in the example on
<a class="moz-txt-link-freetext" href="http://www.ovirt.org/Features/Cloud-Init_Integration">http://www.ovirt.org/Features/Cloud-Init_Integration</a><br>
<blockquote>
<pre> <users>
<user>
<user_name>root</user_name>
<password>myPass</password>
</user>
</users>
</pre>
</blockquote>
<br>
<pre>
</pre>
<BR />
<BR />
<b style="color:#604c78"></b><br><span style="color:#604c78;"><font color="000000"><span style="mso-fareast-language:en-gb;" lang="NL">Met vriendelijke groet, With kind regards,<br><br></span>Jorick Astrego</font></span><b style="color:#604c78"><br><br>Netbulae Virtualization Experts </b><br><hr style="border:none;border-top:1px solid #ccc;"><table style="width: 522px"><tbody><tr><td style="width: 130px;font-size: 10px">Tel: 053 20 30 270</td> <td style="width: 130px;font-size: 10px">info@netbulae.eu</td> <td style="width: 130px;font-size: 10px">Staalsteden 4-3A</td> <td style="width: 130px;font-size: 10px">KvK 08198180</td></tr><tr> <td style="width: 130px;font-size: 10px">Fax: 053 20 30 271</td> <td style="width: 130px;font-size: 10px">www.netbulae.eu</td> <td style="width: 130px;font-size: 10px">7547 TA Enschede</td> <td style="width: 130px;font-size: 10px">BTW NL821234584B01</td></tr></tbody></table><br><hr style="border:none;border-top:1px solid #ccc;"><BR />
</body>
</html>