/srv/irclogs.ubuntu.com/2021/06/24/#cloud-init.txt

lplearnhi~05:29
Guest90do  we have any audio discuss? 06:05
Guest49what  tool dou you  use 06:26
hexa-hm, is there no support for slaac in network config v2?11:41
hexa-rough, so I'm not sure how to configure networking on a vsphere cluster because it doesn't let me provide meta-data via the vapp for an ubuntu cloud image ovf/ova13:24
hexa-how is meta-data supposed to be passed on local vsphere clusters?14:36
hexa-we have machines that basically only have slaac on their network segment, and deploying them via terraform times out, because the ubuntu cloud image wants to do DHCP by default AFAIU.14:37
rbasakContinuing on from #ubuntu-server14:38
rbasakI just looked at https://cloudinit.readthedocs.io/en/latest/topics/datasources.html14:38
rbasakAIUI, both meta-data and user-data must come from one of those sources.14:39
rbasakcloud-init logs will tell you which was used in your case I think.14:39
rbasakMaybe https://cloudinit.readthedocs.io/en/latest/topics/datasources/ovf.html ?14:39
rbasak /run/cloud-init/ds-identify.log might be useful14:40
hexa-https://paste.lossy.network/J6KA14:40
hexa-the referenced ovf env comes via cdrom https://paste.lossy.network/6KWA14:42
hexa-i stripped the user-data because it doesn't really matter14:42
rbasakI think you're using the OVF datasource then, and your question can be refined to asking how cloud-init does networking configuration when using the OVF datasource.14:46
rbasakI don't know the answer to that, but I hope that helps.14:46
rbasakI think the relevant code might be https://github.com/canonical/cloud-init/tree/main/cloudinit/sources/helpers/vmware/imc14:47
hexa-thanks for clarifying, that helps somewhat.14:47
rbasakLooking at *nic* in that directory, it looks to me like the configuration is grabbed from the platform NIC configuration somehow, but I don't see anything specific there about enabling/disabling DHCP.14:48
rbasakBut I am just speculating, to be clear - this is beyond my current knowledge.14:48
hexa-looks like I need to somehow build upon https://github.com/canonical/cloud-init/pull/69115:08
ubottuPull 691 in canonical/cloud-init "[VMware] Support cloudinit raw data feature" [Merged]15:08
needs-help-guyI'm looking for help finding a robust and clean solution for a problem related to systemd-resolve, GCE, cloud-init, and bad domain naming. I have ubuntu 20.04 servers in a GCP project that is DNS peered with a project that is providing .local TLDs for some internal names. systemd-resolve won't even try to resolve .local TLDs via the name server unless it's added as a search domain. I've tried a couple of different confi17:23
needs-help-guyconfig changes but I can't seem to find a way to add a search domain without knowing the interface name, which I'm not sure I can rely on when spinning up a bunch of cloud images.17:24
smoserbummer that needs-help-guy is gone20:37
smoseri was going to help.20:37
smosermy experience with .local domain is that nsswitch.conf editing can help20:37
smoser+ hosts:                 files dns [NOTFOUND=return]20:38
smoser-files mdns4_minimal [NOTFOUND=return] dns20:38
needs-help-guysmoser, i'm still around, i'll check that out23:05

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