[ovirt-users] cloud-init and sealing of template
Michal Skrivanek
michal.skrivanek at redhat.com
Fri Dec 4 07:50:38 UTC 2015
> On 02 Dec 2015, at 21:56, Ekin Meroğlu <ekin.meroglu at linuxera.com> wrote:
>
> Hi,
>
> You can always use REST-API to attach a cloud-init payload to the the machines you create - see the API example in:
>
> http://www.ovirt.org/Features/Cloud-Init_Integration <http://www.ovirt.org/Features/Cloud-Init_Integration>
>
> But the feature was somewhat broken in 3.5.5, recently fixed in 3.5.6:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1269534 <https://bugzilla.redhat.com/show_bug.cgi?id=1269534>
>
> Please see that you should use the new <use_cloud_init>true</use_cloud_init> tag for 3.5.6
>
> I have no experience with it in previous versions tough...
>
> 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…
well, that’s what virt-sysprep does, there are quite a few details it can take care of to make the template really pristine
>
> Regards,
> --
> Ekin.
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20151204/1dfaebf6/attachment-0001.html>
More information about the Users
mailing list