[12:42] hey everyone, when using the ssh-import-id feature, do i just need to set the ssh-import-id in the specific user entry, or is further configuration required? [12:43] i am asking, as it does not seem to work for me [13:00] it says "no authorized ssh keyzs fingerprints found for userxxx" albeit when i call the github api i see my keys [13:04] hm besides that i noticed that from time to time it seems that the initial run seems to fail to set the correct system time and causes to follow up commands to error, as they are not able to verify the certificates used [13:18] weird the system thinks its 2019-02-14 [13:24] Hello, I am trying to use autoinstall to automate an Ubuntu 20.04 install with Packer and I am using `ds=nocloud;s=file://...` The file would be on a floppy... anyone know the way I can inform it to use the floppy since it wouldn't be mounted? [13:25] kickstart had a way where it would be fd0:/anaconda-ks.cfg [14:43] Dus10: you can use cloud-localds from https://github.com/canonical/cloud-utils to create such a… floppy [14:43] I have a file, I just need to reference the file [14:44] The kickstart method was `ks=hd:fd0:/filename.cfg` [14:45] this is a generated floppy image that is mounted a virtual machine [14:46] I have tried `ds=nocloud;s=file://fd0:/autoinstall.yaml` [14:49] that can't work [14:49] at least not with the NoCloud i know [14:49] which documentation are you following? [16:48] Can someone help me solve a puzzle with my cloud-init configuration for the network? [16:48] BG info: [16:48] I use the centos cloud image (with the cloud-init) from the official repos. [16:49] My "cloud" is my local libvirtd environment and I pass cloud-init configuration via an ISO file. [16:49] The ISO file contains the following files: meta-data,user-data,network-config [16:50] The network-config is read. Ana parsed. And I don't see any error! [16:50] BUT, I don't get static IP!!! [16:53] The actual ifcfg-eth0 file specifically says "BOOTPROTO=DHCP"! [16:53] The files and logs can be found here: [16:55] https://dpaste.org/Auvj [16:55] So, what on earth is wrong with my configuration and it's not assigning the static IP? [16:57] (Sorry, code is here: https://dpaste.org/PV0Q) [17:22] I found the solution here: https://stackoverflow.com/a/61568960/13039258 [17:23] Seems like a bug. [17:24] meena: there were no examples provided, it just indicated that seedfrom (or s) should start with file:// or / [17:43] ptselios: that seems odd. which version of cloud-init is that? [17:47] meena: cloud-init-18.5-6.el7.centos.x86_64 [17:47] that sounds awfully old [17:47] well, two years, but still [17:48] Yeap, it's very old. [17:48] Checking for updates gives me 19.4-7.el7.centos.2 [17:49] The image is the CentOS-7-x86_64-GenericCloud.qcow2 and in theory the latest one (I downloaded it a few days ago). [17:51] (Which basically is CentOS 7.8) [17:51] I will try with 7.9 too. [17:56] meena: https://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html - I want to use a local file rather than an http source [17:57] it was possible to do this with anaconda where you could reference fd0 and pull the cfg from it [17:57] rather problematic it can't work with subiquity [17:58] adds a ton of friction to the process if one can't just provide a local file easily [18:00] I am trying to make some reusable images with Packer for Hyper-V (but for VMware vSphere, later) [18:04] okay, but, cloud-init isn't kick-start [18:05] yes, I know, that is why I am asking about it [18:05] is there a way to do that? [18:05] or maybe a way I could say to mount fd0 somewhere during install? [18:05] first of all, i have no idea about autoinstall and autoinstall.yaml [18:06] mkay, autoinstall is part of subiquitity and it uses cloud-init [18:06] if you provide cloud-init a NoCloud source, that has to come in the form of a FAT or ISO source [18:06] yep [18:07] and the floppy is FAT [18:07] Packer is making the floppy image on the fly [18:08] I really don't want to run HTTP server just for this purpose [18:09] i would've thought packer provides that too [18:10] not that I've seen [18:10] I normally only use it with Azure and AWS [18:10] so I use existing images they host and modify them [18:16] I guess it does