<div dir="ltr">Also, you need to be aware of the fact that the engine applies the cloud-init configuration only when you start the VM first time. So the scenario must be:<div><ol><li>Create a VM for template</li><li>Install and enable on it cloud-init and seal it</li><li>Make template from the VM</li><li>Make new VM from the template and fill all relevant cloud-init parameters</li><li>Start the VM</li></ol>If you do not sure if the VM attached the cloud-init file you can check VM devices via # virsh -r dumpxml <vm_id_or_name></div><div>Best Regards</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 23, 2017 at 5:33 PM, Endre Karlson <span dir="ltr"><<a href="mailto:endre.karlson@gmail.com" target="_blank">endre.karlson@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Yeah i tried that with ubuntu but it looks to just fail whebmn it starts the vm because it tries to contact the metadata api instead of using the cdrom source</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">23. mar. 2017 4:26 p.m. skrev "Artyom Lukianov" <<a href="mailto:alukiano@redhat.com" target="_blank">alukiano@redhat.com</a>>:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Just be sure that the cloud-init service enabled before you create the template, otherwise it will fail to initialize a VM.<div>Best Regards</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 23, 2017 at 1:06 PM, Endre Karlson <span dir="ltr"><<a href="mailto:endre.karlson@gmail.com" target="_blank">endre.karlson@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, is there any prerequisite setup on a Ubuntu vm that is turned into a template that needs to be done except installing cloud init packages and sealing the template?<span class="m_-1546286132126710818m_-953501656571203255HOEnZb"><font color="#888888"><div><br></div><div>Endre</div></font></span></div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
<br></blockquote></div><br></div>
</blockquote></div></div>
</div></div></blockquote></div><br></div>