/srv/irclogs.ubuntu.com/2022/06/20/#cloud-init.txt

=== falcojr9 is now known as falcojr
=== toolz is now known as Daniel
=== cpaelzer_ is now known as cpaelzer
_NiCI'm trying to run some network config v2 on a VM, but my interfaces don't end up the way I want them. I can't figure out why. Here's all the meta data, and logs and stuff: https://pastebin.com/8LzugYKR It looks like I need to specify the macaddress (or at least it's complained about it missing), but I don't know what that is until the VM is created.. Docs says that if you don't have a match:, it'll just 08:37
_NiCuse the interface name specified, so I ...08:37
_NiC... must be missing something somewhere..08:37
_NiCIf I specify the MAC addresses during my virt-install, and match: on those in the network-config, it does work as expected.. 09:14
_NiCSo either I'm misinterpreting the docs, or the docs are incorrect: "It is valid to specify no match rules at all, in which case the ID field is simply the interface name to be matched." (from https://cloudinit.readthedocs.io/en/latest/topics/network-config-format-v2.html#network-config-v2)09:14
AssafKatzHi,12:44
AssafKatzI have CentOs 7 and I want to install the latest version of cloud-init, but no instructions exist in the documentation. And running "sudo yum install" provides only version 19.4.12:44
AssafKatzThanks12:44
minimal_NiC: the first thing I'd point out is that you are using a very old version of cloud-init, 20.4.1 - the current release is 22.213:12
falcojrAssafKatz: that's the version packaged with CentOs 7. Later versions aren't packaged or tested to work with CentOs 7.  You could try to find a later version of a cloud-init rpm, but there is no guarantee that it will work. In particular, cloud-init > 19.4 requires python 3, so 19.4 is probably your best bet15:26
_NiCminimal, this is what debian 11 has available, so I'd like to stick with that. In either case, I'm getting it to work as long as I set my own MAC addresses, which is ok with me. :)15:28
_NiCI'm having some other issues now, but they're not the fault of cloud-init I think ;)15:29
AssafKatzfalcojr This should be documented:-( Is a newer version available for CentOs 8?15:31
falcojrAssafKatz: https://cloudinit.readthedocs.io/en/latest/topics/contributing.html?highlight=python#python-support15:44
falcojraccording to https://repology.org/project/cloud-init/versions , 21.1 is in CentOs 815:44

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