<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 02 Dec 2015, at 21:56, Ekin Meroğlu <<a href="mailto:ekin.meroglu@linuxera.com" class="">ekin.meroglu@linuxera.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Hi,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br class=""></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">You can always use REST-API to attach a cloud-init payload to the the machines you create - see the API example in:</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br class=""></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><a href="http://www.ovirt.org/Features/Cloud-Init_Integration" class="">http://www.ovirt.org/Features/Cloud-Init_Integration</a> </div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br class=""></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">But the feature was somewhat broken in 3.5.5, recently fixed in 3.5.6: <br class=""></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br class=""></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1269534" class="">https://bugzilla.redhat.com/show_bug.cgi?id=1269534</a></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br class=""></div><div class="gmail_default"><font face="tahoma, sans-serif" style="font-size:small" class="">Please see that you should use the new </font><span style="font-size: small; white-space: pre-wrap;" class=""><font face="monospace, monospace" class=""><use_cloud_init>true</use_cloud_init> </font></span>tag for 3.5.6</div><div class="gmail_default"><br class=""></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">I have no experience with it in previous versions tough...</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br class=""></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">For the template sealing, I only set hostname to localhost, remove the infamous /etc/udev/rules.d/70-* files, delete HW lines form ifcfg-* files, unregister the machine from satellite etc. and poweroff. I do not use sys-unconfig (as it suggests), and did not need to run virt-sysprep - plain old sealing with deleting the necessary info seemed enough for me…</div></div></div></blockquote><div><br class=""></div>well, that’s what virt-sysprep does, there are quite a few details it can take care of to make the template really pristine</div><div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br class=""></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Regards,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">--</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Ekin.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br class=""></div></div>
_______________________________________________<br class="">Users mailing list<br class=""><a href="mailto:Users@ovirt.org" class="">Users@ovirt.org</a><br class="">http://lists.ovirt.org/mailman/listinfo/users<br class=""></div></blockquote></div><br class=""></body></html>