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

=== gschanuel3 is now known as gschanuel
=== gschanuel4 is now known as gschanuel
itjamiewould https://github.com/canonical/cloud-init/pull/1808/files (draft) be an acceptable approach to solving https://bugs.launchpad.net/bugs/1994980. 11:09
-ubottu:#cloud-init- Pull 1808 in canonical/cloud-init "Support string replacement for nocloud seed path" [Open]11:09
-ubottu:#cloud-init- Launchpad bug 1994980 in cloud-init "FR for variable substitution in nocloud-net urls (eg system serial number)" [Wishlist, Triaged]11:09
=== gschanuel2 is now known as gschanuel
=== ryland_ is now known as ryland
meenaitjamie: it's a good start, but i would generalise it… but not so far that it would be a vector for string replacement attacks :D16:37
minimalwouldn't it be better to pass sub info as url parameters? i.e. https://host/path/user-data.yaml?serial=1234516:52
minimals/sub/such/16:52
itjamieIts going to depend hugely on peoples usecases. Some folks may have existing systems to integrate with that arnt using url params and instead might have something like http://host/path/serialnum. Shouldnt we aim to be flexible?22:23
itjamieDepending on what system they are integrating with they may not have that choice22:25
itjamieIts also why i wrote it to be very explicit, i dont want to introduce an attack vector. By being explicit with which dmi params are supported it limits risk22:30

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