Ignition doesn't work on MicroOS installation

Hey,

I’m not able to apply a ignition configuration file at first boot after a MicroOS installation on a PC Engines APU2 board. I inserted one USB Stick with the installation medium and one USB Stick with the ignition config into the USB ports of the board.
I prepared the ignition USB stick with a config.ign file, but after serveral re-installs and tries it never applied the config file.

The ignition USB stick is formated with one partition with the label ignition. Inside the partition there is one directory called ignition with the file config.ign inside. I checked the configuration with the following command:

podman run --pull=always --rm -i quay.io/coreos/ignition-validate:release - < config.ign

No errors.

After the first boot I check the logs with root:

journalctl --identifier=ignition --all

But didn’t get any results.

Because of that my assumption is that the ignition processes doesn’t even start.

Any help?

Formatted as which filesystem?

@Yannik I’ve only used an iso image for virtual machines via vagrant and have now switched to combustion.

The layout should be disk(directory)->ignition(directory)->config.ign(file) then I used mkisofs -o $(pwd)/ignition.iso -V ignition disk to create…

Formatted with ext4.

@Yannik this is also the Self Install iso image?

No.

After your comment I googled “OpenSUSE MicroOS self install iso” and found the page openSUSE MicroOS - Get openSUSE, which offers different install ISO images than Portal:MicroOS/Downloads - openSUSE Wiki, which is linked by the official MicroOS website at openSUSE MicroOS. Why are there two different sites for downloading install images? The self install image is only available at openSUSE MicroOS - Get openSUSE.

Based on your comment, I guess Ignition will only work with the “Self Installing Container Host” image? Unfortunately this is not documented anywhere.

@Yannik It should work, but one might need to add the grub option to trigger… ignition.platform.id=metal

Can you please explain that in more detail? Where do I enter the option ignition.platform.id=metal?

@Yannik at GRUB, press the ‘e’ key to edit, arrow down to linuxefi line, go to the end and add, then press F10 to boot. That’s what the SelfInstall image adds…

After installation at first boot?

@Yannik at the first boot, but I think you need to look at testing a a vm (which is what I do…) and probably using the self install image onto the device?