It looks like you’re probably missing an install.yaml file in your local setup. The presence of that file, even if empty, is what triggers the install process. So before creating your seed.tar you’ll want to touch seed/install.yaml. That will likely get you to the same result as you saw when using the online image customizer.
(Without that install.yaml, IncusOS is trying to run in “live” mode from the install media, which must be at least 50GiB in size; if not, you’ll get the error you report.)
Because there’s more than one possible drive present that you could install IncusOS to, you’ll need to provide a target as part of the install seed. You likely want the nvme one, which you can easily select by providing the following install.yaml in your seed archive:
I run into the same issue. Archiving the files with the -C option, didn’t work for me. It might be tar version specific, since I did not have this problem on a previous install run, but I didn’t really check.
You have to archive them like this:
cd seed/
tar seed.tar *
Check that there is no root directory in the archive
tar --list -f seed.tar
# output
applications.yaml
incus.yaml
install.yaml
network.yaml
If you do it with the -C option the archive looks like this:
I found this out by checking the SEED_DATA partitions of an .img with strings. I downloaded an .img directly from the web customizer and an injected .img using the flasher-tool and the ‘wrong’ archiving method.
# strings on the second partition of the .img
strings /dev/sdb2
LEFT: .img from web customizer. RIGHT: Image injected with the ‘wrong’ archiving method:
Apparently the installer won’t find the install.yaml archiving them with -C option or maybe the injector in the flasher-tool thinks “./” is part of the file name.
@gibmat Is this something maybe that should be handled by the installer or the flasher-tool?
That should be easy enough to fix in the installer logic; at the moment we’re looking at the tar archive’s list of files and attempting an exact match on install.yaml (or whatever seed file we’re interested in). Stripping the leading ./ if present won’t be hard to do.