/srv/irclogs.ubuntu.com/2022/08/31/#cloud-init.txt

holmancjp256 - Why override cmd? The disk shouldn't be formatted unless you explicitly list the disk (unless I'm misreading), so rather than overriding cmd why not just not list the ephemeral disk in the array under fs_setup?01:57
cjp256holman: for Azure, there is the BUILTIN_CLOUD_EPHEMERAL_DISK_CONFIG which is merged into the config with mergemanydict() https://github.com/canonical/cloud-init/blob/main/cloudinit/sources/DataSourceAzure.py#L750 which includes `"fs_setup": [{"filesystem": DEFAULT_FS, "device": "ephemeral0.1"}]`11:05
cjp256so I used `cmd` to bypass the format in a mergeable manner11:07
Matt33Hey guys, I was wondering how you can access the cloud-init dependencies.  I want to see if it runs before my cron daemon12:55
waldiMatt33: you look into the shipped service files. but please note that cloud-init runs several times with different tasks13:03
holmancjp256: Gotcha. Yeah I don't know of a better way unfortunately :/13:47
=== hexa- is now known as h
humainHello, 14:09
humainI made test test on automatic debian automatic configuration. I tried the following configuration for the network but it does not work. Will you have documentation or some example for the network configuration?14:09
humainThanks14:09
humainThe testing code:14:09
humainnetwork:14:09
humain  ethernets:14:09
humain    eth0:14:09
humain      set-name: eth014:09
humain      dhcp4: false14:09
humain      adresses: 172.x.x.x/2414:10
humain      gateway4: 172.x.x.x14:10
humain      nameservers:14:10
=== h is now known as hexa-
minimalhumain: you spelt "adresses" wrong, also why are you specifying "nameservers:" but with no values?14:17
minimalhumain: cloud-init has extensive documentation regarding network configuration: https://cloudinit.readthedocs.io/en/latest/topics/network-config.html14:18
cjp256holman: I don't think we can change the behavior without breaking users.  Looking forward, there are couple potential options I can think of: (1) add a new flag to fs_setup to disable applying the config block [more strongly than overwrite: false] like null does for mounts and/or (2) add a new flag to Azure datasource to disable merging the default disk configs.  Any thoughts on that?14:20
minimalhmm, submit a question and then leave the channel 56 seconds later....... weird14:22
holmancjp256: Either option sounds fine to me. This would only really be required for people combining multiple configs, which is applicable outside the azure datasource. As long as it gets a decent explanation (describing semantic differences between new flag and overwrite) in the module docs, I think I lean slightly that direction.16:20
minimaljust to be clear, regarding the "v2 interface matching when no MAC" commit, this issue affects all renderers on 22.3?16:58
blackboxsw[community-notice] minimal: correct `Fix v2 interface matching when no MAC` addresses any renderer on systems without Netplan installed. We will be cutting an upstream 22.3.1 verified release. that contains fixes for LP: #1986551(for all renderers where nameservers are specified in network config v2 without a corresponding match:macaddress) and LP: #1978543 (for ubuntu)22:28
ubottuLaunchpad bug 1986551 in Ubuntu on IBM z Systems "Current kinetic ISO images not installable on s390x" [High, Fix Committed] https://launchpad.net/bugs/198655122:28
ubottuLaunchpad bug 1978543 in cloud-init "default not accepted as destination in routes: in the network-config" [High, Fix Committed] https://launchpad.net/bugs/197854322:28
blackboxswwhile it should be a corner case network version: 2 config.... w/ nameservers and no mac-address. it's something to be aware of22:28
blackboxswour hope was to cut the upstream 22.3.1 today/tomorrow once the addtiional review passes.22:29
blackboxswgiven time of day we missed the window for today22:30

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