/srv/irclogs.ubuntu.com/2023/08/11/#cloud-init.txt

aniHas anyone reported this? https://github.com/canonical/cloud-init/issues/433507:13
-ubottu:#cloud-init- Issue 4335 in canonical/cloud-init "'reset password' cannot switch to the other authentication mode because of 50-cloud-init.conf" [Open]07:13
a7xhi, I am trying to autoinstall on an existing laptop and cloudinit is failing here: https://github.com/canonical/curtin/blob/master/curtin/block/__init__.py#L1241 19:30
a7xif not (is_block or os.path.isfile(path)):19:30
a7x        raise ValueError("%s: not an existing file or block device", path)19:30
a7x:) any hint?19:30
blackboxswa7x: that trace back isn't cloud-init it's curtin given your link. let's post that over in #ubuntu-server channel. sorry for redirect there it's just that better eyes are available there for this discussion19:33
a7xthanks blackboxsw 19:38
blackboxswI think you'd need to understand what path variable is in that log message, it's trying to test whether something is a block device when running. a remote pastebin more logs would probably be required to better understand in the ubuntu-server channel your context there19:44
meenaFreeBSD did away with the distinction between character and block devices some twenty years ago19:45
blackboxsw:)19:49
blackboxswa7x it will help the autoinstall folks if you could provide them with the autoinstall configuration that is producing this error condition, I expect the partitioning declarations you have may be pointing at  some path that isn't quite what is expected19:49
meenathe best time to get rid of useless code is twenty years ago. the second best time to do is now.19:55
minimalthe "zero" best time it not to write it in the first place ;-)19:56
meena👍20:00
minimalI'm a great coder as I don't write useless code (regardless of if I don't actually write any code at all) ;-)20:06
dbungertonly features, no bugs20:07
=== a7x_ is now known as a7x

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