
4 Dec
2015
4 Dec
'15
8:50 a.m.
--Apple-Mail=_2CEBF600-631A-47C8-98EF-F91B82FF9417 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On 02 Dec 2015, at 21:56, Ekin Mero=C4=9Flu = <ekin.meroglu@linuxera.com> wrote: >=20 > Hi, >=20 > You can always use REST-API to attach a cloud-init payload to the the = machines you create - see the API example in: >=20 > http://www.ovirt.org/Features/Cloud-Init_Integration = <http://www.ovirt.org/Features/Cloud-Init_Integration>=20 >=20 > But the feature was somewhat broken in 3.5.5, recently fixed in 3.5.6:=20= >=20 > https://bugzilla.redhat.com/show_bug.cgi?id=3D1269534 = <https://bugzilla.redhat.com/show_bug.cgi?id=3D1269534> >=20 > Please see that you should use the new = <use_cloud_init>true</use_cloud_init> tag for 3.5.6 >=20 > I have no experience with it in previous versions tough... >=20 > 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=E2=80=A6 well, that=E2=80=99s what virt-sysprep does, there are quite a few = details it can take care of to make the template really pristine >=20 > Regards, > -- > Ekin. >=20 > _______________________________________________ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users --Apple-Mail=_2CEBF600-631A-47C8-98EF-F91B82FF9417 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" = class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div = class=3D"">On 02 Dec 2015, at 21:56, Ekin Mero=C4=9Flu <<a = href=3D"mailto:ekin.meroglu@linuxera.com" = class=3D"">ekin.meroglu@linuxera.com</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" = class=3D""><div class=3D"gmail_default" = style=3D"font-family:tahoma,sans-serif;font-size:small">Hi,</div><div = class=3D"gmail_default" = style=3D"font-family:tahoma,sans-serif;font-size:small"><br = class=3D""></div><div class=3D"gmail_default" = style=3D"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=3D"gmail_default" = style=3D"font-family:tahoma,sans-serif;font-size:small"><br = class=3D""></div><div class=3D"gmail_default" = style=3D"font-family:tahoma,sans-serif;font-size:small"><a = href=3D"http://www.ovirt.org/Features/Cloud-Init_Integration" = class=3D"">http://www.ovirt.org/Features/Cloud-Init_Integration</a> <= /div><div class=3D"gmail_default" = style=3D"font-family:tahoma,sans-serif;font-size:small"><br = class=3D""></div><div class=3D"gmail_default" = style=3D"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=3D""></div><div class=3D"gmail_default" = style=3D"font-family:tahoma,sans-serif;font-size:small"><br = class=3D""></div><div class=3D"gmail_default" = style=3D"font-family:tahoma,sans-serif;font-size:small"><a = href=3D"https://bugzilla.redhat.com/show_bug.cgi?id=3D1269534" = class=3D"">https://bugzilla.redhat.com/show_bug.cgi?id=3D1269534</a></div>= <div class=3D"gmail_default" = style=3D"font-family:tahoma,sans-serif;font-size:small"><br = class=3D""></div><div class=3D"gmail_default"><font face=3D"tahoma, = sans-serif" style=3D"font-size:small" class=3D"">Please see that you = should use the new </font><span style=3D"font-size: small; = white-space: pre-wrap;" class=3D""><font face=3D"monospace, monospace" = class=3D""><use_cloud_init>true</use_cloud_init> = </font></span>tag for 3.5.6</div><div class=3D"gmail_default"><br = class=3D""></div><div class=3D"gmail_default" = style=3D"font-family:tahoma,sans-serif;font-size:small">I have no = experience with it in previous versions tough...</div><div = class=3D"gmail_default" = style=3D"font-family:tahoma,sans-serif;font-size:small"><br = class=3D""></div><div class=3D"gmail_default" = style=3D"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=E2=80=A6</div></div></div></blockquote><div><br class=3D""></div>well, = that=E2=80=99s 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=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><div = dir=3D"ltr" class=3D""><div class=3D"gmail_default" = style=3D"font-family:tahoma,sans-serif;font-size:small"><br = class=3D""></div><div class=3D"gmail_default" = style=3D"font-family:tahoma,sans-serif;font-size:small">Regards,</div><div= class=3D"gmail_default" = style=3D"font-family:tahoma,sans-serif;font-size:small">--</div><div = class=3D"gmail_default" = style=3D"font-family:tahoma,sans-serif;font-size:small">Ekin.</div><div = class=3D"gmail_default" = style=3D"font-family:tahoma,sans-serif;font-size:small"><br = class=3D""></div></div> _______________________________________________<br class=3D"">Users = mailing list<br class=3D""><a href=3D"mailto:Users@ovirt.org" = class=3D"">Users@ovirt.org</a><br = class=3D"">http://lists.ovirt.org/mailman/listinfo/users<br = class=3D""></div></blockquote></div><br class=3D""></body></html>= --Apple-Mail=_2CEBF600-631A-47C8-98EF-F91B82FF9417--