vegardx | Using NoCloud, what part of meta-data or keys take presence of values provided in SMBIOS or values defined in meta-data and user-data? I was hoping to create a somewhat generic user-data, but be able to provide the instance with a unique hostname using the parameters in SMBIOS. | 00:01 |
---|---|---|
vegardx | Unless I've misunderstood something I have to basically specify the same thing twice. Which means I have to generate a new disk image for every machine. | 00:02 |
vegardx | (using KVM with libvirt and virt-install locally) | 00:02 |
=== tds0 is now known as tds | ||
blackboxsw | vegardx: could you provide a bit more information on that. NoCloud can obtain metadata from a seedfrom url so you can provide dynamic metadata from custom urls if we wish. | 02:23 |
blackboxsw | if *you* with I mean https://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html | 02:23 |
blackboxsw | e.g. you can pass this option to QEMU: ... -smbios type=1,serial=ds=nocloud-net;s=http://10.10.0.1:8000/ | 02:23 |
blackboxsw | 's' a short option for seedfrom= which can be customized with whatever meta-data and user-data you want to provide | 02:24 |
blackboxsw | vegardx: and for more generic userdata you could use jinja templates in your cloud-config that react to the underlying environment of a system (dhcp hostnames, ip address range, distro etc) https://cloudinit.readthedocs.io/en/latest/topics/instancedata.html#using-instance-data | 02:26 |
* blackboxsw has to fall off into the end-of-week abyss. see folks later | 02:29 | |
LongLiveCHIEF | 👋 new to the room! I'm the maintainer of the official octoprint docker image. Came here as a result of some testing I'm doing to prepare new user docs for the octoprint image | 17:01 |
LongLiveCHIEF | what I'm running into atm, is user-data being ignored at boot on raspberry-pi devices when it's in the root of the `system-boot` partition, and i'm wondering if I should be placing user-data in the writable partition instead | 17:03 |
LongLiveCHIEF | i've spent a few days getting up to speed with cloud-init, so i'm familiar with the boot stages, user-data and meta-data formats, etc.. don't be afraid to ask low-level questions if you need more info from me | 17:10 |
=== tds4 is now known as tds |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!