I checked the source code of both the CoreOS upstream project on GitHub and the openSUSE additions on build.opensuse.org. I haven’t seen anything about a /boot/writable/firstboot_happened
, maybe this is not implemented yet?
Based on the Ignition upstream code I did find a way to force Ignition to run again, but it’s not pretty.
- In
/etc/default/grub
, addignition.firstboot=1
to theGRUB_CMDLINE_LINUX_DEFAULT
- Run
sudo transactional-update grub.cfg
- Reboot
However, this boot flag is persistent, it’s not cleaned up. But it’s better than re-image an SD card every time. This will help me test some stuff.
I’ll create a openSUSE Bugzilla issue later this week.