openSUSE / combustion

Configure MicroOS on the first boot
GNU General Public License v2.0
14 stars 7 forks source link

New module to handle firstboot detection in the initrd #4

Closed Vogtinator closed 10 months ago

Vogtinator commented 11 months ago

Look at /etc/machine-id in the /sysroot, similar to what ConditionFirstBoot in the real root would do. If firstboot is detected, start firstboot.target.

TODO:

Vogtinator commented 11 months ago

The firstboot-detect.sh script looks as horrible as expected

Horrible? I think it turned out fine actually...