<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Sep 16, 2017 11:50 AM, "Luca 'remix_tj' Lorenzetto" <<a href="mailto:lorenzetto.luca@gmail.com">lorenzetto.luca@gmail.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="quoted-text">On Sat, Sep 16, 2017 at 3:47 AM, Julián Tete <<a href="mailto:danteconrad14@gmail.com">danteconrad14@gmail.com</a>> wrote:<br>
> You are absolutely right Ondra. Thank You<br>
><br>
<br>
</div>Also to me seems ok, is similar to the configuration we're using to deploy.<br>
<div class="quoted-text"><br>
> I have three questions for you:<br>
><br>
> 1) How does this work ? Ansible creates the configuration disk?<br>
<br>
</div>You mean cloud-init configuration-disk? no, the work is directly done<br>
by oVirt. oVirt knows what you want to put into the configuration<br>
drive and creates a new cdrom device with the configuration drive to<br>
be attached directly to the vm during "Run Once". Once restarted with<br>
standard "Run" the device disappears.<br>
<div class="quoted-text"><br>
><br>
> 2) How can I do to disable cloud-init after execution, maybe a script that<br>
> runs systemd disable cloud-init.service and systemd mask cloud-init.service.<br>
> There is little documentation about it<br>
<br>
</div>I simply run a task after first successful boot with cloud-init that runs<br>
<br>
yum erase -y cloud-init<br>
<div class="quoted-text"><br>
><br>
> 3) If you would like to turn off or on a huge set of virtual machines how<br>
> you can group them to do so. Without having to do a Task for each one<br>
<br>
</div>What do you mean grouping? via engine interface you can apply a tag to<br>
them and then lookup by tag, select all and shutdown.<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">Or use Ansible 'with' or give all the VMs as the targets for the task. </div><div dir="auto">Y. </div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<font color="#888888"><br>
<br>
<br>
<br>
--<br>
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare<br>
calcoli che potrebbero essere affidati a chiunque se si usassero delle<br>
macchine"<br>
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)<br>
<br>
"Internet è la più grande biblioteca del mondo.<br>
Ma il problema è che i libri sono tutti sparsi sul pavimento"<br>
John Allen Paulos, Matematico (1945-vivente)<br>
<br>
Luca 'remix_tj' Lorenzetto, <a href="http://www.remixtj.net" rel="noreferrer" target="_blank">http://www.remixtj.net</a> , <<a href="mailto:lorenzetto.luca@gmail.com">lorenzetto.luca@gmail.com</a>><br>
</font><div class="elided-text">______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
</div></blockquote></div><br></div></div></div>