Skip to content

blueprint: add After/Before fields to firstboot customizations (HMS-9187)#52

Merged
brlane-rht merged 1 commit into
osbuild:mainfrom
lzap:fistboot-order1
May 6, 2026
Merged

blueprint: add After/Before fields to firstboot customizations (HMS-9187)#52
brlane-rht merged 1 commit into
osbuild:mainfrom
lzap:fistboot-order1

Conversation

@lzap
Copy link
Copy Markdown
Contributor

@lzap lzap commented Apr 27, 2026

This allows to control the order of firstboot customizations.


I want to refactor my firstboot refactoring and also add absolute ordering against systemd units. This was a point that @thozza brought up several times. While the initial feedback on firstboot was that this (and everything in general) should be independent of the OS, therefore the assumption that systemd is installed should not be made, I think that the practical approach is to have this. We already heard feedback from Insights customers who want to run this before that and run that after something else.

I am going for slightly vague before and after and only in the Go comment I admit that this is indeed systemd units, but this does not mean this cannot work with SysV init or pretty much anything else - these are strings and if we choose to support non-systemd OS at any point in time, the user just need to provide different strings.

This allows to control the order of firstboot customizations.
Copy link
Copy Markdown
Member

@thozza thozza left a comment

Choose a reason for hiding this comment

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

Thanks. In general, this looks great. I've added a small comment that I'd like to discuss before merging.

Comment thread pkg/blueprint/firstboot_customizations.go
@lzap lzap changed the title blueprint: add After/Before fields to firstboot customizations blueprint: add After/Before fields to firstboot customizations (HMS-9190) Apr 28, 2026
@lzap lzap changed the title blueprint: add After/Before fields to firstboot customizations (HMS-9190) blueprint: add After/Before fields to firstboot customizations (HMS-9187) Apr 28, 2026
Copy link
Copy Markdown

@brlane-rht brlane-rht left a comment

Choose a reason for hiding this comment

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

Looks good to me

@lzap lzap requested a review from thozza May 6, 2026 08:12
@brlane-rht brlane-rht added this pull request to the merge queue May 6, 2026
Merged via the queue into osbuild:main with commit a79d26e May 6, 2026
6 checks passed
@lzap lzap deleted the fistboot-order1 branch May 7, 2026 09:04
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.

4 participants