Another question in the context of coreos-config and coreos-assembler (and bootloader)…
I need an advice on how I can customize the grub.cfg. What I want is to have the automatic boot_counter enabled. What I have done:
- I removed (some of) the removal of grub2 (in coreos-config)
- I added the “updated” grub.cfg to /boot/grub2/ via overlay
Result --> cosa build ostree (or metal) does not work anymore pointing to the boot dir saying it is not empty!
Can someone help me, describing what would be the correct way to do such “low-level” changes. I don’t think that running ‘grub2-mkconfig’ is an option here?
Thanks a lot for any advice!