=== vrubiolo1 is now known as vrubiolo [13:55] is there a simple one-liner I can use to add a root-pw or a ssh-key to a downloaded img-file? [13:56] you can do it with cloud init [13:56] I feel like I have a *really* simple problem, and all solutions requires learning sanskrit. from americ. with clay tablets. [13:56] or you can just mount the image, chroot into it and change the pw [13:56] amharic? [13:57] Krikke the last one requires libguestfs, right? [13:58] Krikke: do you care to suggest a quick and simple way to do it with cloud-init? [13:58] https://cloudinit.readthedocs.io/en/latest/topics/examples.html [13:59] you can put it in users section as ssh_authorized_keys [13:59] or passwd / plain_text_passwd and then set lock_passwd: false [14:00] thank you. this looks promising [14:08] with the glaring exception that I do not understand how to apply the config to my image? [14:13] I need to create a disk image with the config data on it, it appears [14:15] I dunno, depends on image I guess [14:15] openstack images have cloudinit pre-installed I think [14:16] There is nothing analog to 'cloud-init myconfig.json diskimag.img ' [14:16] maybe it's also possible to mount the cloudinit volume [14:16] no it's a software that runs when the os boots from the image [14:19] I'm using libvirt with terraform, it mounts an iso with the cloud init stuff when it creates the vm [14:43] yeah seems it mounts the config from an iso file [14:47] Krikke: thank you for guiding my onto the right path. [14:47] me [14:48] finally figured it out. [14:48] nice, np