Skip to content

Write /etc/.combustion-result.json on completion - #47

Merged
Vogtinator merged 1 commit into
openSUSE:masterfrom
anujagrawal380:fix/combustion-result-json
Oct 15, 2026
Merged

Vogtinator merged 1 commit into
openSUSE:masterfrom
anujagrawal380:fix/combustion-result-json

Conversation

@anujagrawal380

Copy link
Copy Markdown
Contributor
  • Write /etc/.combustion-result.json when running with --complete, consistent with ignition's /etc/.ignition-result.json pattern
  • This allows jeos-firstboot to detect that combustion already configured the system and skip the firstboot wizard when ConditionFirstBoot=|yes is used as an alternative trigger

Context

When jeos-firstboot adds ConditionFirstBoot=|yes support (openSUSE/jeos-firstboot#98, openSUSE/jeos-firstboot#136), deleting /var/lib/YaST2/reconfig_system alone is no longer sufficient to suppress the firstboot wizard, since ConditionFirstBoot will still be true on first boot (machine-id is uninitialized).

The marker file approach was suggested in openSUSE/jeos-firstboot#136.

Fixes #46

@anujagrawal380

Copy link
Copy Markdown
Contributor Author

PTAL @Vogtinator

@laenion laenion left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. Maybe writing some actual contents into the file would be useful given that the file is called result, but I also can't think of anything which isn't available elsewhere (timestamp of file, log in journal).

When running with --complete, write a result marker file at
/sysroot/etc/.combustion-result.json (consistent with ignition's
/etc/.ignition-result.json). This allows jeos-firstboot to detect
that combustion already configured the system and skip the firstboot
wizard when ConditionFirstBoot=|yes is used as a trigger.

See: openSUSE/jeos-firstboot#136
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
@Vogtinator
Vogtinator force-pushed the fix/combustion-result-json branch from d157055 to e9c69e4 Compare October 15, 2026 11:58
@Vogtinator
Vogtinator merged commit f4bcb80 into openSUSE:master Oct 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Write /etc/.combustion-result.json marker on completion for jeos-firstboot compatibility

3 participants