/srv/irclogs.ubuntu.com/2017/02/16/#cloud-init.txt

=== rangerpb is now known as rangerpbzzzz
=== shardy is now known as shardy_lunch
=== shardy_lunch is now known as shardy
=== rangerpbzzzz is now known as rangerpb
freakynlHi, would cloud-init be a good choice to use for configuring an ova/ovf template after deployment? It won't be running on public clouds. The default config seems to want to pull information from the default gw which seems very amazon EC2 like16:00
smoserfreakynl, well,. it will look to the ec2 metadata service currently if it didnt find any ovf data.16:05
smoserbut if you have an ovf iso transport cdrom attached, it should use that.16:06
freakynlsmoser: Thanks for the info. Was more hoping of a yes this is the right tool or no you should look elsewhere kind of answer before diving in the docs :)16:15
smoserfreakynl, yes!16:16
smoserthat better ?16:16
freakynlsmoser: hell yea :) thanks16:32
=== shardy is now known as shardy_afk
larsksharlowja: around?19:53
larskssmoser: cloudinit/net/sysconfig.py seems to be broken, particularly right here: https://github.com/cloud-init/cloud-init/blob/master/cloudinit/net/sysconfig.py#L28619:54
larsksAt that point, "iface" is just a dict, and has no "children" attribute, so it all blows up.19:54
smoser:(19:57
larskshttps://bugs.launchpad.net/cloud-init/+bug/166544119:57
smoserdo you have network config that showed this ?19:57
larsksI do, although I am pretty sure that any network config would show this...I don't see how you would get anything other than a dict at this point.19:58
larsksBut I will update the bug with my network_data.json.19:58
smosermust of regressed. i am surprised harlowja woudlnt have cried.19:59
rharperlooks like a nice candidate for integration tests20:05
larsksrharper: looks like a nice candidate for *unit* tests, even, I think.20:08
rharperoh, that too20:08
rharperthere are sysconfig unittests20:08
larsksrharper: I am pretty sure this stems from someone writing "iface" when they meant "iface_cfg".20:08
rharperso that might be an easy way to expose it20:08
rharpery20:08
larsksWith a couple small fixes I have it not failing and generating a semi-valid config file, although it appears to be missing an ip address.20:09
larsksOh hey, actually I think that fixed it.  It just generates more alias configurations than I expected.20:13
harlowjawho what21:04

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!