/srv/irclogs.ubuntu.com/2022/11/09/#cloud-init.txt

holmanrueedi: I don't think network configuration data is available within the cc_*.py:handler() functions is it? If the second argument doesn't have what you want, then I don't think that's currently supported by the config module interface.01:29
holmanHi kryl o/01:29
=== holman is now known as holmanb
falcojrrueedi and holman: I think "cloud.datasource.network_config" should give what you need03:21
=== hansi is now known as rueedi
rueedihi08:01
rueedii am writing an own cloud-init module.. it works all nice so far, it gets executed i have my schema, i can configure it... but now i want to access the network configuration that was passed to cloud-init from within that code... how can i do that?08:01
waldirueedi: 04:21 <@falcojr> rueedi and holman: I think "cloud.datasource.network_config" should give what you need08:05
rueediawesome gonna try it out :D08:05
rueedithanks08:05
acibarueedi: Additionally if you want to perform network operations, you can do it throught cloud.distro.networking or cloudinit.net . More info: https://github.com/canonical/cloud-init/blob/main/WIP-ONGOING-REFACTORIZATION.rst08:10
rueedi<308:11
=== hexa- is now known as h
=== h is now known as hexa-

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