
The cloud-init integration was a little flaky when I was using it, =20 when it was introduced in 3.3 - definitely ... =20 Indeed. We are now using 3.4 and in works much better. And indeed the = root password option also works now! :-) And we can add a domain IF we type domain after every VM that has to = be created. (There a some... We work for The airport :-) ). So isn't =
--Apple-Mail=_E31F3DDA-4A71-4EC7-950A-CCE27EA83610 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On 13 Jun 2014, at 15:17, Koen Vanoppen wrote: there a option where we can OR just remove the domain so the only thing = left is the name we gave to the machine OR set a standard domain that = ovirt uses with every VM created=85? I'm not sure if cloud-init has an option specifically for domain=85.their = docs is=85well=85not that great Since there's the custom script option where you can add anything=85how = about just set it there directly? it gets "merged" with the options we = have in the UI so as long as it's syntactically correct cloud-config = snippet, it should work Thanks, michal
The cloud-init integration was a little flaky when I was using it, =20 when it was introduced in 3.3 - definitely =20
I ended up not using any of the inbuilt oVirt options (eg. hostname, root password). Root password never worked for me as it'd force a reset on first login.. defeating the purpose. =20 yes. This has been fixed since (IIRC in 3.4, maybe a bit later, not = sure) =20 I'm not aware of any further issues with cloud-init recently=85it = should be fine
=20 Kind regards and thx in advance! =20 =20 =20 2014-06-13 10:53 GMT+02:00 Michal Skrivanek = <michal.skrivanek@redhat.com>: =20 On 12 Jun 2014, at 05:11, Andrew Lau wrote: =20 there's always room for some enhancements=85but pretty much you can = add whatever is missing in a custom config section (also for windows = sysprep) today =20 Thanks, michal =20
Just passing a full cloud-init config into the bottom section worked for me, so for your case just define the hostname there instead.
On Tue, May 27, 2014 at 9:33 PM, Koen Vanoppen = <vanoppen.koen@gmail.com> wrote:
Hi Guys,
It's bin a while :-). Luckily :-).
I have a quick question. Is there a way to change the default = .localdomain for the FQDN in ovirt? I would be handy if we just had to fill in the hostname of our vm = (we are using 3.4, with the cloud-init feature) and he automatically adds = our domain in stead of .localdomain.
Kind regards,
Koen
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users =20 =20
<blockquote type=3D"cite"><div dir=3D"ltr"><div> <br></div>Kind regards and thx in = advance!<br><div><div><br></div></div></div><div = class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">2014-06-13 = 10:53 GMT+02:00 Michal Skrivanek <span dir=3D"ltr"><<a =
--Apple-Mail=_E31F3DDA-4A71-4EC7-950A-CCE27EA83610 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 <html><head></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; = "><br><div><div>On 13 Jun 2014, at 15:17, Koen Vanoppen wrote:</div><br = class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div = dir=3D"ltr"><div><div><div>> The cloud-init integration was a little = flaky when I was using it,<br> <br>> when it was introduced in 3.3 - = definitely<br>...<br><br></div>Indeed. We are now using 3.4 and in works = much better. And indeed the root password option also works now! = :-)<br></div>And we can add a domain IF we type domain after every VM = that has to be created. (There a some... We work for The airport :-) ). = So isn't there a option where we can OR just remove the domain so the = only thing left is the name we gave to the machine OR set a standard = domain that ovirt uses with every VM = created=85?<br></div></div></blockquote><div><br></div><div>I'm not sure = if cloud-init has an option specifically for domain=85.their docs = is=85well=85not that great</div><div>Since there's the custom script = option where you can add anything=85how about just set it there = directly? it gets "merged" with the options we have in the UI so as long = as it's syntactically correct cloud-config snippet, it should = work</div></div><div><br></div><div>Thanks,</div><div>michal</div><div><br= href=3D"mailto:michal.skrivanek@redhat.com" = target=3D"_blank">michal.skrivanek@redhat.com</a>></span>:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 = .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D""><br> On 12 Jun 2014, at 05:11, Andrew Lau wrote:<br> <br> > The cloud-init integration was a little flaky when I was using = it,<br> <br> </div>when it was introduced in 3.3 - definitely<br> <div class=3D""><br> ><br> > I ended up not using any of the inbuilt oVirt options (eg. = hostname,<br> > root password). Root password never worked for me as it'd force = a<br> > reset on first login.. defeating the purpose.<br> <br> </div>yes. This has been fixed since (IIRC in 3.4, maybe a bit later, = not sure)<br> <br> I'm not aware of any further issues with cloud-init recently=85it should = be fine<br> there's always room for some enhancements=85but pretty much you can add = whatever is missing in a custom config section (also for windows = sysprep) today<br> <br> Thanks,<br> michal<br> <div class=3D"HOEnZb"><div class=3D"h5"><br> > Just passing a full cloud-init config into the bottom section = worked<br> > for me, so for your case just define the hostname there = instead.<br> ><br> ><br> > On Tue, May 27, 2014 at 9:33 PM, Koen Vanoppen <<a = href=3D"mailto:vanoppen.koen@gmail.com">vanoppen.koen@gmail.com</a>> = wrote:<br> >> Hi Guys,<br> >><br> >> It's bin a while :-). Luckily :-).<br> >><br> >> I have a quick question. Is there a way to change the default = .localdomain<br> >> for the FQDN in ovirt?<br> >> I would be handy if we just had to fill in the hostname of our = vm (we are<br> >> using 3.4, with the cloud-init feature) and he automatically = adds our domain<br> >> in stead of .localdomain.<br> >><br> >> Kind regards,<br> >><br> >> Koen<br> >><br> >> _______________________________________________<br> >> Users mailing list<br> >> <a href=3D"mailto:Users@ovirt.org">Users@ovirt.org</a><br> >> <a href=3D"http://lists.ovirt.org/mailman/listinfo/users" = target=3D"_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br> >><br> > _______________________________________________<br> > Users mailing list<br> > <a href=3D"mailto:Users@ovirt.org">Users@ovirt.org</a><br> > <a href=3D"http://lists.ovirt.org/mailman/listinfo/users" = target=3D"_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br> <br> </div></div></blockquote></div><br></div> </blockquote></div><br></body></html>= --Apple-Mail=_E31F3DDA-4A71-4EC7-950A-CCE27EA83610--